結果 : program to check if a string is a palindrome in python