input: Write a function to create a loop in Python that prints each item of a given list with a message. The function should accept a list as an input and print each element in the format "The item is: {item}". If the given list is empty, the function should not print anything.
  assert loop_and_print(['A', 'B', 'C', 'D'])
  assert loop_and_print([]) 
  # No output for an empty list
  assert loop_and_print(['X', 'Y'])
  # Expected output:
  # The item is: X
  # The item is: Y
output: def loop_and_print(lst):
      for item in lst:
          print(f"The item is: {item}")