Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.
Quick Checkout A local department store hires you to write an automated checkout program designed specifically for their express checkout lane.
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
Using the information from a previous post,this is what I've came up with. Please help
print("Welcome to the Express Lane!")
price1 = input("12.50: ")
price2 = input("114.00: ")
price3 = input("8.99: ")
price4 = input("16.00: ")
price5 = input("3.99: ")
subtotal = float(price1) + float(price2) + float(price3) + float(price4) + float(price5)
print("subtotal: " + str (round(subtotal,2)))
tax = subtotal * 0.06
print("tax: " + str(round(tax,2)))
Total = float(subtotal) + float(tax)
print("Total: " + str (round(Total,2)))