for i in range(100,1000):
if sum(map(lambda x:int(x)**3,str(i)))==i:
print(i)
python版找水仙花数
猜你喜欢
转载自blog.csdn.net/qq_44954571/article/details/105170192
今日推荐
周排行