pythonbook/实验0/1.1 打印99 乘法表.py

4 lines
106 B
Python

for i in range(1,9):
for j in range(1,i+1):
print(f"{i}*{j} = {i*j} ", end = "")
print("")