input: Write a function to print each item of the given list with a message. If the list is empty, print "The list is empty".
  
  
  def print_items_with_message(my_list):
      if not my_list:
          print("The list is empty")
      else:
          for item in my_list:
              print("The item is: {}".format(item))
  
  # Test cases
  print_items_with_message(['A', 'B', 'C', 'D'])
  print_items_with_message([])
  
output: def print_items_with_message(my_list):
      if not my_list:
          print("The list is empty")
      else:
          for item in my_list:
              print("The item is: {}".format(item))