input: Write a python function to generate a times table for a given number.
  assert get_times_table(5) == [0, 5, 10, 15, 20, 25, 30, 35, 40, 45]
  assert get_times_table(3) == [0, 3, 6, 9, 12, 15, 18, 21, 24, 27]
  assert get_times_table(7) == [0, 7, 14, 21, 28, 35, 42, 49, 56, 63]
output: def get_times_table(n):
      return [n * i for i in range(10)]