Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ddangcong80 authored Mar 17, 2024
1 parent 8f3f23b commit de0a3c0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
from priority_queue import PriorityQueue
def main():
pq = PriorityQueue()

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 de0a3c0

Please sign in to comment.