input: Write a function that creates a Python generator to return numbers from a given list.
  
  ### Function:
  
  def list_generator(input_list):
      for item in input_list:
          yield item
  
  
  ### Test Cases:
  
  gen = list_generator([1, 3, 5, 7, 9])
  output = list(gen)
  assert output == [1, 3, 5, 7, 9]
  
  assert list(list_generator([2, 4, 6, 8, 10])) == [2, 4, 6, 8, 10]
  
  assert list(list_generator([])) == []
  
output: def list_generator(input_list):
      for item in input_list:
          yield item