結果 : how to check palindrome in python using for loop