LeetCode (力扣)Python刷题记录3:第9题:回文数 难度:简单 题目: Python解答: class Solution: def isPalindrome(self, x: int) -> bool: return str(x)==str(x)[::-1] 提交记录: