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九九乘法口诀
最新推荐文章于 2024-02-20 11:17:29 发布
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('')