Python输出九九乘法表
方式一:
i = 1;
while i < 9:
j = 1;
while j <= i:
print(f"{i} * {j} = { i * j }\t", end='')
j += 1;
i += 1;
print()
方式二:
for i in range(1,10):
for j in range(1,i+1):
print(f"{i}*{j}={i*j}\t", end='')
print()