All challenges
Multiple ChoiceIntermediate 30s

typing.Union

Choose the best answer for: Union type
Options
  1. 1Union is deprecated in favor of Any
  2. 2Union[A, B] means value can be A or B
  3. 3Union is for optional imports
  4. 4Union means intersection of types

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