python revese a string in place code example Example: how to reverse a string in python belief = "the world is mine, hello"[::-1] print(belief)