input: def list_generator(input_list):
      """A generator function that yields numbers from a given list.
  
      >>> gen = list_generator([1, 3, 5, 7, 9])
      >>> list(gen)
      [1, 3, 5, 7, 9]
      """
      for item in input_list:
          yield item
output:     for item in input_list:
          yield item