input: Write a function to create a Python generator that returns numbers from a given list. The function should take a list as input and yield each item from the list.
  
  def list_generator(input_list):
      for item in input_list:
          yield item
  
  gen = list_generator([1,3,5,7,9])
  for item in gen:
      assert item == 1 or item == 3 or item == 5 or item == 7 or item == 9
output: def list_generator(input_list):
      for item in input_list:
          yield item