摘要: 今天学习了python 另外在网站上对回文数的判断进行了练习,代码如下 class Solution { public boolean isPalindrome(int x) { if(x<0||(x%10==0&&x!=0)) return false; int r=0; while(x>r){ 阅读全文
posted @ 2023-05-07 21:08 xiaolllllin 阅读(183) 评论(0) 推荐(0)