<reponame>DharaniAnche/python-programs
n=int(input('enter the number : '))
for i in range(n):
    for j in range(i+1):
        print(j+1, end=' ')
    print()
n=int(input('enter the number : '))
for i in range(n):
    for j in range(i+1):
        print(j+1, end=' ')
    print()