摘要: #找出水仙花数 def sxh(start, end): if end >= start and start >=100 and end<= 999: num=start #将num的值初始化 L =[] while num<=end: x=num%10 #num取个位数 y=num... 阅读全文
posted @ 2018-10-19 22:43 lengjf 阅读(11281) 评论(0) 推荐(0) 编辑