Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advanced queues #2988

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Advanced queues #2988

wants to merge 5 commits into from

Conversation

Stefan-Stojanovic
Copy link
Collaborator

@Stefan-Stojanovic Stefan-Stojanovic commented Jan 10, 2022

split commits from here into several different branches/prs for easier review/merge

nem035
nem035 previously approved these changes Jan 11, 2022

q = queue.PriorityQueue()
q.put(Enki(55))
q.put(Enki(3))
q.put(Enki(100))
while not q.empty():
print(q.get().priority)
print(q.get().priority)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like a single white space on my phone?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, you're right, it is one, changed it back to 2

nem035
nem035 previously approved these changes Jan 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants