python乘法口诀表 代码如下: for i in range(1, 10): for j in range(0, i): print(str(i)+'x'+str((j+1))+'='+str(i*(j+1)), end=' ') print('') 测试效果如下: