mypycIntermediate Playground

Compile type-annotated Python to C extensions using mypy's type info

mypyc configurationRun locally
Install
pip install mypy # mypyc is included
Python CodeRun locally

mypyc offers various configuration options to customize its behavior for different use cases.

Challenge

Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?