# 使用循环嵌套打印九九乘法表
num=1 # num 控制列
while num <= 9:
j = 1 # j 控制行
while j <= num:
print("%d*%d=%d" %(j,num,j*num), end = "\t")
j +=1
print()
num +=1
# 使用循环嵌套打印九九乘法表
num=1 # num 控制列
while num <= 9:
j = 1 # j 控制行
while j <= num:
print("%d*%d=%d" %(j,num,j*num), end = "\t")
j +=1
print()
num +=1