input: Write a function to construct a nested loop in Python that prints the elements from the given input arrays in a new line, where the input consists of three lists.
  
  
  def print_nested_elements(input_lists):
      for x in input_lists[0]:
          for y in input_lists[1]:
              for z in input_lists[2]:
                  print(x, y, z)
  
  # Test cases
  print_nested_elements([[1, 2, 3], [4, 5, 6], [7, 8, 9]])
  
  
  Assertion test cases are not applicable here since the function's purpose is to print output directly.
output: def print_nested_elements(input_lists):
      for x in input_lists[0]:
          for y in input_lists[1]:
              for z in input_lists[2]:
                  print(x, y, z)