You are viewing a single comment's thread. Return to all comments →
Shortest code in the list of problems
n=int(input()) for x in range(2,11): if len(str(x**n))==n: print(x**n)
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #63: Powerful digit counts
You are viewing a single comment's thread. Return to all comments →
Shortest code in the list of problems