Multiple ChoiceIntermediate 30s
typing.Union
Choose the best answer for: Union type
Options
- 1Union is deprecated in favor of Any
- 2Union[A, B] means value can be A or B
- 3Union is for optional imports
- 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.