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