HACKERRANK:Triangle Quest

for i in range(1,input()):
    print ((10**i - 1)/ 9)*i

Comments