用while循环打印九九乘法表
i=1
while i <=9:
j = 1
while j <=i:
print(f"{j}*{i} = {j*i}\t", end=" ")
j +=1
i+=1
print()
用for range()打印九九乘法表
for x in range(1, 10):
for y in range(1, x+1):
print(f"{y} * {x} = {x*y}\t", end=" ")
print()