Reverse the string using slicing code example
Example 1: how to reverse a string in python
'your sting'[::-1]
Example 2: how to reverse a string in python
belief = "the world is mine, hello"[::-1]
print(belief)
'your sting'[::-1]
belief = "the world is mine, hello"[::-1]
print(belief)