Multiple ChoiceIntermediate 30s
typing.Optional
Choose the best answer for: Optional type hint
Options
- 1Optional[X] is Union[X, None]
- 2Optional is for keyword arguments only
- 3Optional[X] means the value is required
- 4Optional[X] is the same as X
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.