結果 : write a function to check palindrome in python