diff --git a/main.py b/main.py index edd5ad5..16f394b 100644 --- a/main.py +++ b/main.py @@ -1,9 +1,9 @@ from priority_queue import PriorityQueue def main(): pq = PriorityQueue() - pq.push("Task 1") - pq.push("Task 2") - pq.push("Task 3") + pq.push("Task 1",3) + pq.push("Task 2",1) + pq.push("Task 3",2) print(pq.pop()) print(pq.pop()) print(pq.pop())