摘要: 水仙花数,即一个三位数的个,十,百三位数字的立方和等于该三位数。 1 from math import pow 2 3 if __name__ == "__main__": 4 5 l = list() 6 for x in range(100, 1000): 7 x1, x2, x3 = str( 阅读全文
posted @ 2020-12-01 19:29 琵琶真的行 阅读(814) 评论(0) 推荐(0) 编辑