Medium
Table as Lists
Read n and print an n×n multiplication table as a list of lists.
Input
One integer n ≥ 1.
Output
A list of lists.
Sample 1
Input
3
Output
[[1, 2, 3], [2, 4, 6], [3, 6, 9]]
Sample 2
Input
1
Output
[[1]]
Output appears hereOne integer n ≥ 1.
A list of lists.
3
[[1, 2, 3], [2, 4, 6], [3, 6, 9]]
1
[[1]]
Output appears here