prompt_toolkitEasy Playground

Build interactive command-line applications and REPLs

Getting started with prompt_toolkitRun locally
Install
pip install prompt-toolkit
Python CodeRun locally
Expected Output
# Expected output shown below
# (Run locally with: prompt_toolkit)

prompt_toolkit is a third-party package. Build interactive command-line applications and REPLs. Install with: pip install prompt-toolkit

Challenge

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