結果 : code for checking palindrome in python