3 lines
90 B
Python
3 lines
90 B
Python
for i in range(5000):
|
|
if i == sum(int(x) ** int(x) for x in str(i)):
|
|
print(i)
|