結果 : check for palindrome in python