結果 : how to write a palindrome program in python