input: Write a function to create a loop in Python that prints each item of a given list with a specific message. If the list is empty, print "The list is empty."
  
  def print_items(my_list):
      if len(my_list) == 0:
          print("The list is empty.")
      else:
          for item in my_list:
              print("The item is: {}".format(item))
  
  assert print_items(['A', 'B', 'C', 'D'])==None # Expected output: The item is: A\nThe item is: B\nThe item is: C\nThe item is: D\n
  assert print_items([])==None # Expected output: The list is empty.\n
output: def print_items(my_list):
      if len(my_list) == 0:
          print("The list is empty.")
      else:
          for item in my_list:
              print("The item is: {}".format(item))