how to flip a string python code example Example: how to flip a string python txt = "Hello World"[::-1] print(txt)#dlroW olleH