diff --git a/data_structures/Heap/heap.py b/data_structures/Heap/heap.py index 3b22f4f02..d43cc4baa 100644 --- a/data_structures/Heap/heap.py +++ b/data_structures/Heap/heap.py @@ -68,8 +68,7 @@ class Heap: curr = curr/2 def display(self): - for item in self.h: - print item, + print (self.h) def main(): l = list(map(int,raw_input().split()))