This commit is contained in:
Francisco Matias 2017-06-20 04:17:20 -03:00
parent 4a9405e1b0
commit 8c9d9498b5

View File

@ -67,8 +67,8 @@ class BinarySearchTree:
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())