reversing the string inpython code example Example: python reverse string 'String'[::-1] #-> 'gnirtS'