标签:http isp str img pre python else als blog
题目如下:
Python代码:
def isPalindrome(self, x): """ :type x: int :rtype: bool """ if(x>=0): s = int(str(x)[::-1]) if(x==s): return True else: return False else: return False
标签:http isp str img pre python else als blog
原文地址:http://www.cnblogs.com/CQUTWH/p/7106508.html