Skip to content
Onsite

Multiplication Table of N

EasyP3Coding

Return the multiplication table of n for multipliers 1 to 10, that is [n * 1, n * 2, ..., n * 10].

Example 1

Input
n = 2
Output
[2,4,6,8,10,12,14,16,18,20]

Example 2

Input
n = 1
Output
[1,2,3,4,5,6,7,8,9,10]

Example 3

Input
n = 0
Output
[0,0,0,0,0,0,0,0,0,0]

Constraints

  • -10^6 <= n <= 10^6

Hints

Run checks the 3 visible tests, Submit all 8.