結果 : string palindrome in python using while loop