代码:for i in range(1,10): for u in range(1,1+i): print(str(u)+“x”+str(i)+"="+str(i*u)+"\t",end="") print("") 代码图片: 执行结果: