Skip to content
Snippets Groups Projects
Commit 0e19fa18 authored by Romain Vuillemot's avatar Romain Vuillemot
Browse files

revert

parent 68c5eeee
No related branches found
No related tags found
No related merge requests found
from queue import PriorityQueue
file_prio = PriorityQueue()
file_prio.put(2, "Bob")
file_prio.put(1, "Alice")
file_prio.put(6, "Nat")
file_prio.put((2, "Bob"))
file_prio.put((1, "Alice"))
while not file_prio.empty():
print(file_prio.get())
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment