#example pgm
# 1 2 3 4
# 5 6 7 8
# 9 10 11 12

#  pgm

#cnt=1
#for i in range(1,13):
#   print(i, end="\t")
#  if(cnt==4):
#    print()
 #   cnt=1
#  else:
#     cnt+=1

#nested for loop pgm
#*
#* *
#* * *
#* * * *...........


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








