All challenges
Multiple ChoiceIntermediate 30s

Multiple Assignment

Choose the best answer for: tuple unpacking
Options
  1. 1a, b = 1, 2 assigns both at once
  2. 2Tuple unpacking requires parentheses
  3. 3a, b = 1, 2 assigns only a
  4. 4a, b = 1, 2 is invalid syntax

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