All challenges
Code AnalysisBeginner 45s

Queue get

What is the output?
Starter code
from queue import Queue
q = Queue()
q.put(1)
q.put(2)
print(q.get(), q.get())

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle