Type Hints Quiz
Check what you learned in the Type Hints lesson. Every question explains the answer, so even a wrong answer teaches you something.
- 12 questions, picked from a pool of 48
- About 9 minutes
- Instant feedback
What this quiz covers
- Your first type hints (opens in a new tab)
- Python doesn't enforce them (opens in a new tab)
- Hints for variables (opens in a new tab)
- Hints for collections (opens in a new tab)
- Values that might be missing (opens in a new tab)
- Seeing the hints (opens in a new tab)
- Hints with classes (opens in a new tab)
- When to use type hints (opens in a new tab)
Output