Simple string reversal
a ="Hello there I'm Bob" reverse = a[::-1] print(reverse) # contents of reverse: 'boB m'I ereht olleH'