input: Write a function to create a Python generator that returns numbers from a given list. The function should be called list_generator and it should take a single argument input_list. The generator should yield each item in the input_list. Use the following test cases to verify the function:
  
  assert list(list_generator([1, 3, 5, 7, 9])) == [1, 3, 5, 7, 9]
  assert list(list_generator([2, 4, 6, 8])) == [2, 4, 6, 8]
  assert list(list_generator([])) == []
  assert list(list_generator([-1, 0, 1])) == [-1, 0, 1]
  assert list(list_generator([10])) == [10]
output: def list_generator(input_list):
      for item in input_list:
          yield item