
kongge = 15
xingxing = 1
while kongge >= 0:
    print(" "*kongge,"* "*xingxing)
    kongge -=1
    xingxing+=1





for i in range(1,10):
    for j in range(1,i+1):
        print("%d*%d=%d"%(j,i,j*i),end="\t")
    print("")

k = 9
x = 1
for i in range(0,10):
    print(" "*k,"* "*x)
    k -=1
    x+=1
