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

corrections mineur

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