input: Write a function that constructs a nested loop in Python to print out the elements from the given input arrays in a new line. The function should take a list of lists as input and output the nested loop structure.
  
  def construct_nested_loop(input_arrays):
      if len(input_arrays) == 0:
          return
      for x in input_arrays[0]:
          if len(input_arrays) > 1:
              for y in input_arrays[1]:
                  if len(input_arrays) > 2:
                      for z in input_arrays[2]:
                          print(x, y, z)
                  else:
                      print(x, y)
          else:
              print(x)
  
  assert construct_nested_loop([[1, 2, 3], [4, 5, 6], [7, 8, 9]])==None
  assert construct_nested_loop([[1, 2], [3, 4]])==None
  assert construct_nested_loop([[1]])==None
  assert construct_nested_loop([])==None
output: def construct_nested_loop(input_arrays):
      if len(input_arrays) == 0:
          return
      for x in input_arrays[0]:
          if len(input_arrays) > 1:
              for y in input_arrays[1]:
                  if len(input_arrays) > 2:
                      for z in input_arrays[2]:
                          print(x, y, z)
                  else:
                      print(x, y)
          else:
              print(x)