code: def print_nodes(nodes, detailed=False):
      
      found = 0
      for node in nodes:
          found += 1
          print_node(node, detailed=detailed)
      print("\nFound {0} node{1}".format(found, "s" if found != 1 else ""))
docs: Prints all the given nodes