coverage — Easy Playground
Measure code coverage; shows untested lines/branches
Getting started with coverageRun locally
Install
pip install coveragePython CodeRun locally
Expected Output
# Expected output shown below # (Run locally with: coverage)
coverage is a third-party package. Measure code coverage; shows untested lines/branches. Install with: pip install coverage
Challenge
Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?