判断回文 def another_palindrome(word): return word == word[::-1] #word[::-1]字符串反转 another_palindrome('aba')