Rearrange the lines to create a valid annotated Python function and access the __annotations__ attribute. Use indentation where necessary.
Function annotations
Call for annotations
Report a typo
Reorder lines using drag or arrows. Adjust indentation with left buttons
return a / b
def division(a:"divident", b:"divisor (different than 0)") -> "result of dividing a by b":
division.__annotations__
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.