A package that allows MCQ select in terminal/CLI
pip install cli_select
use Up and Down arrow keys to select your option use Enter key to confirm your selection
from cli_select import select
selected = select(
"Which is your favourite fruit?",
["apple", "orange", "pear", "pineaple", "durian"],
color="green",
)
print(f"you selected {selected}")
# Select favourite fruit (Up/Down to navigate, Enter to select):
# => apple
# orange
# pear
# pineaple
# durian