Question: create a menu driven program. the program should include a menu function that will take a list of options and return an int in the
create a menu driven program. the program should include a menu function that will take a list of options and return an int in the range of range(len(options)).

what kind of list do you want? Grocery MENU OPTIONS 0. quit 1. add item 2. delete item 3. print the list enter choice: 3 Grocery List The list is empty MENU OPTIONS 0. quit 1. add item 2. delete item 3. print the list enter choice: 1 enter new item: bread "bread' added to the list MENU OPTIONS 0. quit 1. add item 2. delete item 3. print the list enter choice: 1 enter new item: bread bread' is already in the list and not duplicated MENU OPTIONS 0. quit 1. add item 2. delete item 3. print the list enter choice: 2 enter item to delete: cheese "cheese' is not in the list and cannot be deleted
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
