how to convert string reverse in python code example
Example 1: python reverse string
'String'[::-1] #-> 'gnirtS'
Example 2: how to reverse a string in python
'your sting'[::-1]
'String'[::-1] #-> 'gnirtS'
'your sting'[::-1]