結果 : reverse a string using loop in python