Skip to content

Commit fa1e65e

Browse files
author
Ankit Agarwal
committed
Fixing print statement
1 parent e15c0aa commit fa1e65e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: data_structures/Heap/heap.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ def insert(self,data):
6868
curr = curr/2
6969

7070
def display(self):
71-
for item in self.h:
72-
print item,
71+
print (self.h)
7372

7473
def main():
7574
l = list(map(int,raw_input().split()))

0 commit comments

Comments
 (0)