input: Write a function to implement the nested loop in Python that prints out the elements from the given lists, each on a new line. The function should take three lists as input and print their combined elements in the specific order as shown in the example.
  assert nested_loops([1,2,3], [4,5,6], [7,8,9])==None
  assert nested_loops([10,20], [30,40], [50,60])==None
output: def nested_loops(list1, list2, list3):
      for i in list1:
          for j in list2:
              for k in list3:
                  print(i, j, k)