Question: Python: Write a program that will provide the user with a menu of three different grocery stores: Wal - Mart, Hometown Market, and Sam s
Python: Write a program that will provide the user with a menu of three different grocery stores: WalMart, Hometown Market, and Sams Club, and a done option. If the user selects one of the grocery stores, allow the user to enter five grocery items. The user should be able to enter items for each of the grocery stores if heshe desires. The program should run until the user has decided that he or she is done. Once the user selects done, your program should display the name of the stores that the user entered items for, and then the items in alphabetical order.
Your program should also create an output file that will provide the same listing.
Input Validation: Do not allow the user to select a value outside of the menu options.
Note: If the user selects the same grocery store more than once he or she will be overwriting the original entries given to the grocery items of that store.
You should include the flowchart and the python code for this assignment.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
