結果 : reversing a string in python using for loop