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