Question: List of items Function 5. Using your in-class assignment: on-line grocery shopping, do the following: Create a new file that builds a shopping list from

List of items

Function
5. Using your in-class assignment: on-line grocery shopping, do the following: Create a new file that builds a shopping list from a user. You should start by w the user to your on-line grocery store and tell them what items are available for purchase a. There should be a input query that asks the user to list an item and the number of those items needed. Two lists should be built that reflects the items on the list and the number of each items that are to be purchased. The lists should build until the user is done (and types done or some other action to show that they are finished) b. Call up your function grocery_cost (or whatever you called it) to check the stock and build your total cost. Your program should let the user know if the items they want are in stock. If there is not enough stock, your program should let the user know that and offer them the number that are in stock. You will need to edit your grocery_cost c. d. Call up your stock_check function and print items that need restocking
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
