for i in  range(10):
    for j in  range(10-i,10):
     print(end=" ")
    for k in range(i,10):
        print("*",end=" ")
    print(" ")