# num=int(input("enter the number"))
# i=1
# while i<=num:
#     print("# "*num)
#     i=i+1

#star pattern right triangle:-
# i=1
# while i<=5:
#     print(" * "*i)
#     i=i+1
    

# table programm:
# num=int(input("enter the number"))
# i=1
# while i<=10:
#     print(num*i)
#     i=i+1

#opposite of right triangle:-
k=1
i=1
while i<=6:
    j=1
    while j<=6-i:
        print(" ",end="")
        j=j+1
    l=1
    while l<=k:
        print("*",end="")
        l=l+1
    k=k+1
    print()
    i=i+1


