Question: %%% Python - Jupitor Notebook %%% Q1 (2 pts) Shopping list Write a function called input_shopping list0 that prompts a user for items on their

%%% Python - Jupitor Notebook %%%

%%% Python - Jupitor Notebook %%% Q1 (2 pts) Shopping list Write

Q1 (2 pts) Shopping list Write a function called input_shopping list0 that prompts a user for items on their shopping list and keeps prompting the user until they enter "Done" (not case sensitive). then returns the items in the list. Your code will then call input_shopping_list0 and print the total contents of the shopping list and the total number Pseudocode for input shopping list0 INITIALIZE empty shopping list PROMPT the user for an item WHILE item is not "done" ADD item to shopping list RETURN shopping_list (This is just the pseudocode for the function. Your code also needs to call this function.) Output should look something like this: Apple Bread Milk Steak Potatoes Total items on shopping list: 5

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!