<filename>Chap02Loops/4-2.乘法表.py
for i in range(1,10):
    for j in range(1,i+1):
        print(f"{j}*{i}={i*j:2d}",end="")
    print()
<filename>Chap02Loops/4-2.乘法表.py
for i in range(1,10):
    for j in range(1,i+1):
        print(f"{j}*{i}={i*j:2d}",end="")
    print()