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