結果 : python code to check if string is palindrome