executingEasy Playground

Get the currently executing AST node (used by rich tracebacks)

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

executing is a third-party package. Get the currently executing AST node (used by rich tracebacks). Install with: pip install executing

Challenge

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