input: Write a function that creates a loop in Python to print each item of the given list with a message. The function should take a list as input and print each element in the format "The item is: {}". Provide assertions to validate the function.
  
  def print_item_with_message(my_list):
      for item in my_list:
          print("The item is: {}".format(item))
  
  assert print_item_with_message(['A', 'B', 'C', 'D'])==None
  assert print_item_with_message(['X', 'Y', 'Z'])==None
  assert print_item_with_message([])==None
output: def print_item_with_message(my_list):
      for item in my_list:
          print("The item is: {}".format(item))