回文数https://leetcode-cn.com/problems/palindrome-number/
class Solution(object):
def isPalindrome(self, x):
xx=str(x)
if(xx==xx[::-1]):
return True
else:
return False
原文:https://www.cnblogs.com/2014slx/p/13088540.html