autoflakeEasy Playground

Remove unused imports and variables automatically

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

autoflake is a third-party package. Remove unused imports and variables automatically. Install with: pip install autoflake

Challenge

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