MTable.py 165 B

123456
  1. # 完整格式输出九九乘法表
  2. print("99乘法表")
  3. for i in range(1,10):
  4. for j in range(1,i+1):
  5. print("%d*%d=%d" % (i,j,i*j),end=" ")
  6. print("")