結果 : program to check for palindrome in python