Question: Only Solve using Lists in python. DO NOT USE CLASS. Create an interactive program the allows a user to build, edit and display their grocery

Only Solve using Lists in python. DO NOT USE CLASS. Only Solve using Lists in python. DO NOT USE CLASS. Create an

Create an interactive program the allows a user to build, edit and display their grocery list. The program should continuously prompt the user to make one of the following choices: 1) Add an item 2) Remove an item chosen by the user Make sure to check if the item is in the list first! Otherwise, you'll get a ValueError when you remove it! 3) Display all items in the list 4) Clear the list of items 5) Exit Sample Output Welcome to the Generic Grocery List Application! 1) Add an item 2) Remove an item 3) Display all items 4) Clear the list 5) Exit Select an option: 1 Enter the item's name: Chips 1) Add an item 2) Remove an item 3) Display all items 4) Clear the list 5) Exit Select an option: 1 Enter the item's name: Cadbury 1) Add an item 2) Remove an item 3) Display all items 4) Clear the list 5) Exit Select an option: 1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!