radonEasy Playground

Code metrics: cyclomatic complexity, maintainability index

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

radon is a third-party package. Code metrics: cyclomatic complexity, maintainability index. Install with: pip install radon

Challenge

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