Python 九九乘法表输出
基于嵌套循环,Python 实现九九乘法表输出:
for i in range(1, 10):
for j in range(1, i+1):
print(f'{j}x{i}={i*j}t', end='')
print()
145B
文件大小:
评论区