mypyc — Easy Playground
Compile type-annotated Python to C extensions using mypy's type info
What is mypyc?Run locally
Install
pip install mypy # mypyc is includedPython CodeRun locally
mypyc is compile type-annotated python to c extensions using mypy's type info. It provides an alternative way to run Python code.
Challenge
Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?