#P0014. 输出乘法表

输出乘法表

1. Description

Use nested for loop, print 9 x 9 multiplication table as below

1*1=1  1*2=2  1*3=3  ...  1*9=9
2*1=2  2*2=4  2*3=6  ...  2*9=18
...
9*1=9  9*2=18 9*3=27 ...  9*9=81

2. Input & Output

Input No input for this problem.

Output

  • Use print() for your output
  • Print 9 rows of equations, 9 equations each row
    • Use * as multiplication
    • No space between *, = and numbers
    • Use 1 space as seperator between equations in the same row