mypy — Easy Playground
Static type checker for Python type annotations
Getting started with mypyRun locally
Install
pip install mypyPython CodeRun locally
Expected Output
# Expected output shown below # (Run locally with: mypy)
mypy is a third-party package. Static type checker for Python type annotations. Install with: pip install mypy
Challenge
Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?