编写程序,输出九九乘法表
时间: 2023-05-13 07:04:27 浏览: 95
输出九九乘法表
Sure, here's a code snippet in Python to output the multiplication table:
```
for i in range(1, 10):
for j in range(1, i+1):
print(f"{j} x {i} = {i*j}", end="\t")
print()
```
This will output the multiplication table from 1x1 to 9x9.
阅读全文