1
1 2
1 2 3
1 2 3 4
1 2 3 4 5
1 2 3 4 5 6
1 2 3 4 5 6 7 
1 2 3 4 5 6 7 8 

n=int(input("enter the number of rows :"))
for i in range(1,n+1):
    for j in range(1,i+1):
        print(j,end="")
        print()

0967eed4b49882e51496077b2c25ee020aa5023a
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5
1 2 3 4 5 6
1 2 3 4 5 6 7 
1 2 3 4 5 6 7 8 

n=int(input("enter the number of rows :"))
for i in range(1,n+1):
    for j in range(1,i+1):
        print(j,end="")
        print()
