MCPcopy Index your code
hub / github.com/BeeBombshell/Python-DSA / _printTree

Method _printTree

Tree Data Structure/binarytree.py:58–62  ·  view source on GitHub ↗
(self, node)

Source from the content-addressed store, hash-verified

56 self._printTree(self.root)
57
58 def _printTree(self, node):
59 if node is not None:
60 self._printTree(node.l)
61 print(str(node.v) + ' ')
62 self._printTree(node.r)
63
64tree = Tree()
65tree.add(3)

Callers 1

printTreeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected