txt = "Hello World"[::-1] print(txt) # https://www.w3schools.com/python/python_howto_reverse_string.asp