def f():
for i in range(1,10):
for j in range(1,10):
if i>=j:
print("{a}*{b}={c}".format(a=i,b=j,c=i*j),end=" ")
print("\n")
if __name__ == '__main__':
f()
标签:__,10,打印,range,print,乘法表
From: https://www.cnblogs.com/JK8395/p/16796066.html