input: Write a function to create a Python generator that returns numbers from a given list. If the input list is empty, the generator should yield no values.
  def list_generator(input_list):
      for item in input_list:
          yield item
  
  gen = list_generator([1,3,5,7,9])
  assert [item for item in gen]==[1,3,5,7,9]
  
  gen = list_generator([])
  assert [item for item in gen]==[]
output: def list_generator(input_list):
      for item in input_list:
          yield item