input: Write a python function to generate a list of numbers starting from 1 to 49 with a step of 3.
  assert generate_list() == [1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34, 37, 40, 43, 46, 49]
  assert generate_list()[0] == 1
  assert generate_list()[-1] == 49
output: def generate_list():
      return list(range(1, 50, 3))