i = 1
while i <= 9:
j = 1
while j <= i:
print(f"{j}*{i}={i*j}\t",end='')
j += 1
i += 1
print()
for i in range(1,10):
for j in range(1,i+1):
print(f"{j}*{i}={j * i}\t", end='')
print()
for i in range(1,10):
for j in range(1,10):
if j <= i:
print(f"{j}*{i}={j * i}\t", end='')
print()
print():什么也不输出,换行
\t:制表符,对齐
end='':不换行,输出结果