Triangle Quest 2

  • + 1 comment

    if name == "main":

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

    Seems like this satisfied the given conditions, but still facing "invalid string literal found" error.

    Can anyone help me with it?