Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ndleah/python-mini-project
/ printTree
Method
printTree
Binary_tree/tree.py:51–53 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
49
50
# Method for print tree in terminal
51
def
printTree(self):
52
if
self.root is not None:
53
self._printTree(self.root)
54
55
def
_printTree(self, node):
56
if
node is not None:
Callers
1
main.py
File · 0.80
Calls
1
_printTree
Method · 0.95
Tested by
no test coverage detected