All challenges
Multiple ChoiceIntermediate 30s

itertools.chain

Choose the best answer for: chain()
Options
  1. 1chain sorts elements from multiple iterables
  2. 2chain(*iterables) flattens multiple iterables
  3. 3chain creates a linked list of connected nodes
  4. 4chain is an async helper for coroutines

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