for i in range(1,10):
for j in range(1,i+1):
print('%d*%d=%d'%(j,i,j*i),end=' ')
print()
作者: wwyy4ever 时间: 2018-1-30 13:49
for i in range(1,10):
for j in range(1,10):
print ('%sx%s=%s'%(i,j,i*j))作者: lzlz 时间: 2018-3-21 17:36
#-*-coding=utf-8-*-
for i in range(1,10):
for j in range(1,i+1):
print ('%d*%d=%d'%(j,i,j*i))