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