for i in range(
1,
1001):
for j in range(
1,
1001):
for k in range(
1,
1001):
if (i
*i*i + j
*j*j + k
*k*k) == (i
*100 + j
*10 + k *
1) :
print (i,j,k)
转载于:https://www.cnblogs.com/bilaisheng/p/10211060.html
相关资源:while循环实现水仙花数
转载请注明原文地址: https://mac.8miu.com/read-1438.html