Patrick coded a program but suddenly dropped his laptop, and his clean code broke. Help Patrick arrange the lines in such an order that mypy does not output an error.
Introduction to type hints
Don't make mypy mad!
Report a typo
Reorder lines using drag or arrows. Adjust indentation with left buttons
value += "12"
result: int = num_value + 7
num_value: int = int(value)
value: str = input()
___
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.