Write a python program that prompts the user for the name


A customer comes into a grocery store and buys 8 items.

Write a PYTHON program that prompts the user for the name of the item and the price of each item, and then simply displays whatever the user typed in on the screen nicely formatted.

Some example input might be:

Apples 2.10

Hamburger 3.25

Milk 3.49

Sugar 1.99

Bread 1.76

Deli Turkey 7.99

Pickles 3.42

Butter 2.79

Remember - you will be outputting to the screen - so do a screen capture to turn in your output. Also turn in your PYTHON program code.

Solution Preview :

Prepared by a verified Expert
Python Programming: Write a python program that prompts the user for the name
Reference No:- TGS02890097

Now Priced at $20 (50% Discount)

Recommended (95%)

Rated (4.7/5)