Задача Codewars Multiplication table for number

Решаем задачу Codewars - таблица умножения для числа.