Project Euler #63: Powerful digit counts

  • + 0 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)