Python生成九九乘法表代码
时间: 2023-11-19 15:06:08 浏览: 114
Python代码-九九乘法表.py
Sure, here's a simple Python code to generate the multiplication table:
``` python
for i in range(1, 10):
for j in range(1, i+1):
print('{}x{}={}\t'.format(j, i, i*j), end='')
print()
```
Hope this helps!
阅读全文