how do I print a string in reversed code example
Example 1: python reverse string
'String'[::-1] #-> 'gnirtS'
Example 2: reverse string in python
'hello world'[::-1]
'dlrow olleh'
'String'[::-1] #-> 'gnirtS'
'hello world'[::-1]
'dlrow olleh'