input: Write a function to construct a nested loop in Python that prints out the elements in a new line when given a list of lists. The function should iterate through each list in the given input and print each combination of elements from the three lists.
  
  def nested_loop(input_lists):
      for x in input_lists[0]:
          for y in input_lists[1]:
              for z in input_lists[2]:
                  print(x, y, z)
  
  assert nested_loop([[1,2,3], [4,5,6], [7,8,9]]) == None
  assert nested_loop([[2,3,4], [5,6,7], [8,9,10]]) == None
  assert nested_loop([[1], [1], [1]]) == None
  assert nested_loop([[0,0,0], [0,0,0], [0,0,0]]) == None
  assert nested_loop([[10,20,30], [40,50,60], [70,80,90]]) == None
output: def nested_loop(input_lists):
      for x in input_lists[0]:
          for y in input_lists[1]:
              for z in input_lists[2]:
                  print(x, y, z)