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