A function that returns the reverse of a string in python 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)