会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
hungry5656
博客园
首页
新随笔
联系
管理
订阅
2019年7月21日
Leetcode Palindrome Number Python Solution 判断回文数的python解法
摘要: 二话不说,直接上代码: 1 class Solution(object): 2 def isPalindrome(self, x): 3 """ 4 :type x: int 5 :rtype: bool 6 """ 7 x2 = str(x) 8 if x2 == x2[::-...
阅读全文
posted @ 2019-07-21 21:35 hungry5656
阅读(167)
评论(0)
推荐(0)
编辑
公告