diy2.py 195 Bytes Edit 1 2 3 4 5 for a in range(1,10): for b in range(1,a+1): print(a,"*",b,"=",(a*b),end=" ")# 使用变量i和j,代替乘法算式里面的元素,打印出单个乘法算式 print()