input: Write a python function to generate a list of numbers from 0 to 9 using a for loop.
  assert generate_numbers() == [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
output: def generate_numbers():
      numbers = []
      for i in range(10):
          numbers.append(i)
      return numbers