题解 | #变种水仙花#
变种水仙花
http://www.nowcoder.com/practice/c178e3f5cc4641dfbc8b020ae79e2b71
for i in range(10000, 100000):
sum = 0
a = 10000
while a!=1:
sum += (i//a) * (i % a)
a //= 10
if sum == i:
print(sum, end=" ")