Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeTaek2T authored Mar 16, 2024
1 parent abb2735 commit 65b1484
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.py
Original file line number Diff line number Diff line change
@@ -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())
Expand Down

0 comments on commit 65b1484

Please sign in to comment.