結果 : write a program to reverse a string in python using for loop