結果 : string palindrome in python using for loop