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