Skip to content

Commit 8c9d949

Browse files
committed
print
1 parent 4a9405e commit 8c9d949

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

data_structures/Binary Tree/binary_seach_tree.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ def empty(self):
6767

6868
def preShow(self, curr_node):
6969
if curr_node != None:
70-
print(curr_node.getLabel())
71-
print ('\n')
70+
print(curr_node.getLabel(), end=" ")
71+
7272
self.preShow(curr_node.getLeft())
7373
self.preShow(curr_node.getRight())
7474

0 commit comments

Comments
 (0)