From fa1e65ee0fc6220c17712fa135b3d81bc54deadd Mon Sep 17 00:00:00 2001 From: Ankit Agarwal Date: Sat, 1 Apr 2017 21:28:12 +0530 Subject: [PATCH] Fixing print statement --- data_structures/Heap/heap.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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()))