input: Write a python function to concatenate two lists and print their elements.
  assert concatenate_and_print([1, 2, 3], [4, 5, 6]) == None  # The function should print the numbers 1, 2, 3, 4, 5, 6
  assert concatenate_and_print(['a', 'b'], ['c', 'd']) == None  # The function should print the characters a, b, c, d
  assert concatenate_and_print([], [7, 8, 9]) == None  # The function should print the numbers 7, 8, 9
output: def concatenate_and_print(list1, list2):
      concatenated_list = list1 + list2
      for element in concatenated_list:
          print(element)