Write table(n) returning the list [n×1, n×2, …, n×10].
table(n)
[n×1, n×2, …, n×10]
table(3) → [3, 6, 9, 12, 15, 18, 21, 24, 27, 30]
Submit runs 4 tests, including hidden edge cases.
Run your code to see the output here.