Triangle Quest

  • + 0 comments

    for i in range(1,int(input())): #More than 2 lines will result in 0 score. Do not leave a blank line also print(i*sum(list(10**(j) for j in range(i))))

    this gives only 1 for is allowed. Even though this solves the problem.