reverse step in a python string code example
Example 1: how to reverse a string in python
'your sting'[::-1]
Example 2: python string reverse
'hello world'[::-1]
# 'dlrow olleh'
'your sting'[::-1]
'hello world'[::-1]
# 'dlrow olleh'