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