<reponame>Preeti-Barua/Python<gh_stars>0


for row in range(5,0):
    for col in range(1,row+1):
        
        print(col,end=" ")

    print()

for row in range(5,0):
    for col in range(1,row+1):
        
        print(col,end=" ")

    print()