# 九九乘法表 n = 9 for i in range(1, n + 1): for j in range(1, i + 1): print(j, '*', i, '=', i * j, sep=" ", end="\t") print()