-- coding = uft-8 -- @Time : 2021/7/10 10:47 @Author : ff @File : 99表.py @Software : PyCharm for i in range(1,10): for j in range(1,i+1): print("%d*%d=%d"%(i,j,j*i),end="\t") print("\n") #print(end="\n")也行