输出 9*9 口诀
# 九九乘法表,行数和列数的取值范围都在[1, 9] # 当列数≤行数时,打印出“列数×行数=行列之积” for row in range(1, 10): for column in range(1, 10): if column <= row: print(f"{column}×{row}=" + str(row * column) + "\t", end="") print() print()
标签:输出,10,column,口诀,range,行数,列数 From: https://www.cnblogs.com/sangern/p/17404433.html