Use Python basics (1)

@Print 9 lines of little stars

#1 打印9行小星星
row=1
while row<=9:
col=1
while col<=row:
print(" %d * %d = %d " % (col,row , col * row),end=" \t")
col +=1
#print("%d"% row)
print("")
row=row+1

Guess you like

Origin blog.csdn.net/m0_50923237/article/details/112770891