Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/BeeBombshell/Python-DSA
/ printTree
Method
printTree
Tree Data Structure/binarytree.py:54–56 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
52
53
#to print the tree
54
def
printTree(self):
55
if
self.root is not None:
56
self._printTree(self.root)
57
58
def
_printTree(self, node):
59
if
node is not None:
Callers
1
binarytree.py
File · 0.80
Calls
1
_printTree
Method · 0.95
Tested by
no test coverage detected