from HeapArray import * def main(): q = HeapArray() q.insert(10) q.insert(14) q.insert(16) q.insert(17) q.insert(5) print(q) print("printing sorted list") while not q.is_empty(): print(q.delete_min()) main()