input: Write a python function to generate a multiplication table for numbers from 1 to n.
  assert generate_multiplication_table(3) == [[1, 2, 3], [2, 4, 6], [3, 6, 9]]
  assert generate_multiplication_table(5) == [[1, 2, 3, 4, 5], [2, 4, 6, 8, 10], [3, 6, 9, 12, 15], [4, 8, 12, 16, 20], [5, 10, 15, 20, 25]]
  assert generate_multiplication_table(1) == [[1]]
output: def generate_multiplication_table(n):
      return [[i * j for j in range(1, n + 1)] for i in range(1, n + 1)]