Skip to content

Commit

Permalink
print
Browse files Browse the repository at this point in the history
  • Loading branch information
frmatias committed Jun 20, 2017
1 parent 4a9405e commit 8c9d949
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data_structures/Binary Tree/binary_seach_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ def empty(self):

def preShow(self, curr_node):
if curr_node != None:
print(curr_node.getLabel())
print ('\n')
print(curr_node.getLabel(), end=" ")

self.preShow(curr_node.getLeft())
self.preShow(curr_node.getRight())

Expand Down

0 comments on commit 8c9d949

Please sign in to comment.