Triangle Quest

  • + 0 comments

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