Question: USING PYTHON Assume a customer is at a store purchasing exactly 5 items. The cashier inputs the items and their prices into the computer. Someone

USING PYTHON

Assume a customer is at a store purchasing exactly 5 items. The cashier inputs the items and their prices into the computer. Someone has provided the cashier a Python program that does the following:

Asks cashier for name of each item (use short names)

Asks cashier for price of each item

Assume items are between $100 & $999.

Prints receipt header (see below for a sample receipt)

Prints item name and price as

Input item name, item price, then print them

Keeps a running subtotal, then prints it below the items

Calculates and prints sales tax amount based on a 7% tax rate

Prints a total that includes tax amount

Prints how much cash a person pays

Assume customer pays the exact or higher amount

Prints the amount of change (if any) to be returned to customer

What to Turn-In?

In ONE Word document, copy & paste on separate pages

Python code

The output of program (screen snip will suffice)

Program Format

Leave plenty of blank lines in program for readability

Have plenty of comments

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!