beartypeEasy Playground

Ultra-fast runtime type checking via decorators

Getting started with beartypeRun locally
Install
pip install beartype
Python CodeRun locally
Expected Output
# Expected output shown below
# (Run locally with: beartype)

beartype is a third-party package. Ultra-fast runtime type checking via decorators. Install with: pip install beartype

Challenge

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