input: Write a function called list_generator that takes a single parameter input_list and generates numbers from the list. The function should yield each item in the list one by one.
  def list_generator(input_list):
      for item in input_list:
          yield item
  
  gen = list_generator([1,3,5,7,9])
  for item in gen:
      print(item)
output: def list_generator(input_list):
      for item in input_list:
          yield item