結果 : code to check palindrome in python