reverse a string a append 0 python code example Example: how to reverse a string in python 'your sting'[::-1]