input: from typing import List
  
  
  def list_generator(input_list: List[int]):
      """
      A Python generator function that yields each item in the given list.
      
      Example:
      >>> gen = list_generator([1, 3, 5, 7, 9])
      >>> for item in gen:
      ...     print(item)
      1
      3
      5
      7
      9
      """
output:     for item in input_list:
          yield item