Getting Started with Python

User Generated

nzlw123

Programming

Description

Programming Essentials

Quick Checkout

A local department store hires you to write an automated checkout program designed specifically for their express checkout lane. The express lane is limited to five items for any one purchase. Write a simple program using Python that prompts the user for the prices of five individual items and then calculates and displays the subtotal, sales tax, and total. The sales tax is 6 percent.

For this project:

  • You will submit your python code in either the original .py file, or copied into a .txt file.
  • A screenshot of your code having been executed (run). How to Take a Screenshot

Tips: Since the program asks you for three calculated values, it would be a good idea to have a place to store those three values once they have been calculated.

Avoid using Microsoft Word to write your program code. Word uses symbols other than the standard quote marks, which are often misinterpreted by programming compilers/interpreters.

Example output:

C:\>python week1.py

Welcome to the Express Lane!

Enter the first price: 5.00

Enter the second price: 6.15

Enter the third price: 7.95

Enter the fourth price: 42.99

Enter the final price: 12.70

subtotal: 74.79

sales tax: 4.49

-----------------------

total: 74.85

User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

Hey unzip the attached file to ...


Anonymous
Awesome! Perfect study aid.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Related Tags