結果 : how to write reverse string program in python