All challenges
Multiple ChoiceIntermediate 30s

Queue Module

Choose the best answer for: queue.Queue
Options
  1. 1Queue is just a list subclass with a lock-free wrapper
  2. 2Queue is not thread-safe and needs an external lock
  3. 3Queue is designed only for use inside asyncio coroutines
  4. 4queue.Queue is thread-safe for producer-consumer

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