pyrightEasy Playground

Fast type checker by Microsoft (VS Code Pylance)

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

pyright is a third-party package. Fast type checker by Microsoft (VS Code Pylance). Install with: pip install pyright

Challenge

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