Question: In python please 9, [20%] Total Purchase Write a program that prompts a user to enter both an item item name and price. The user

 In python please 9, [20%] Total Purchase Write a program that

In python please

9, [20%] Total Purchase Write a program that prompts a user to enter both an item item name and price. The user will enter items and prices until a 0 is entered for both the item name and item price. This program must used lists Requirements 1.) Prompt users for item name and item price until a 0 is entered for both. 2) The item name and price are to be store in lists name item name and item price respectively 3) The 0 name and price should not be added to the lists. 4) Once the user has finished entering items a loop must be used to create output that resembles a receipt. Output Blue is output. Green is input (color coding is to help write the program and not part of your output) Enter 0 for name and price to exit Enter Item: Bread Enter Price: 1.32 Enter Item: Milk Enter Price: 3.66 Enter Item: Soup Enter Price: 1.66 Enter Item: 0 Enter Price: 0 Here are the items you entered. Item: Bread $1.32 Item: Milk $3.66 Item: Soup $1.66

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!