Multiple ChoiceIntermediate 30s
Type Hints Basic
Choose the best answer for: Python type annotations
Options
- 1def f(x: int) -> str: is a type hint
- 2Python has no type hint syntax
- 3Type hints are enforced at runtime
- 4Type hints use angle brackets
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.