All challenges
Multiple ChoiceIntermediate 30s

Type Hints Basic

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

Play this in a 3-minute battle