input: Write a generator function that takes a list of integers as input and yields each element of 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])
  assert list(gen) == [1, 3, 5, 7, 9]
  gen = list_generator([])
  assert list(gen) == []
  gen = list_generator([2, 4, 6, 8])
  assert list(gen) == [2, 4, 6, 8]
output: def list_generator(input_list):
      for item in input_list:
          yield item