Quiz: What Does -> Mean in Python Function Definitions?
Interactive Quiz ⋅ 8 Questions
By Philipp Acsany
In this quiz, you will revisit how Python uses the arrow notation (->
) in function signatures to provide return type hints. Practice identifying correct syntax, annotating containers, and understanding the role of tools like mypy.
Brush up on key concepts, clarify where and how to use return type hints, and see practical examples in What Does -> Mean in Python Function Definitions?.
The quiz contains 8 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end