結果 : write a python code to check if a string is a palindrome