Python实现常见的回文字符串算法 回文利用python自带的翻转函数reversed()defis_plalindrome(string):returnstring==''.join(list(reversed(string))) python回文字符串