for h in range(1,10):
for l in range(1,h+1):
c1=str(h)+'*'+str(l)+'='+str(h*l)
print(c1.ljust(7,' '),end='')
if h==l:
print('')
python九九乘法口诀
最新推荐文章于 2022-05-05 13:42:50 发布
for h in range(1,10):
for l in range(1,h+1):
c1=str(h)+'*'+str(l)+'='+str(h*l)
print(c1.ljust(7,' '),end='')
if h==l:
print('')