# def num(n):
#     for i in range(n):#0,1,2
#         for j in range(1,i):#0
#                 print(j,end=" ")
#         print("\r")
# num(6)

# def sqaure(n):
#     for i in range(n):
#         for j in range(n):
#                 print("*",end=" ")
#         print()
# sqaure(5)
# def pyr(n):
#     k=n-1
#     for i in range(0,n):
#         for j in range(0,k):
#             print(end=" ")
#         k=k-1
#         for j in range(0,i+1):
#             print("*", end=" ")
#         print()
# pyr(6)

# def parallelo(n):
#     k=n
#     for i in range(n):
#         for j in range(k):
#             print(end=" ")
#         k=k+1
#         for r in range(n):
#             print("*",end=" ")
#         print()
# parallelo(6)