ipythonEasy Playground

Enhanced interactive Python shell: magic commands, history, completion

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

ipython is a third-party package. Enhanced interactive Python shell: magic commands, history, completion. Install with: pip install ipython

Challenge

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