Question: Write Python code that will ask the user to enter the amount paid at check - out, i . e . , the amount on

Write Python code that will ask the user to enter the amount paid at check-out, i.e., the amount on the receipt. The code should then compute the amount of state and county sales taxes paid. Assume the state sales tax is 6 percent and the county sales tax is 1.5 percent.
The code should then display the amount paid for the goods/services, the state sales tax paid, the county sales tax paid, and the total amount.
For example:
>>> Enter receipt amount: 452.24
Purchase amount: 420.69
State tax: 25.24
County tax: 6.31
----------
Total: 452.24
4.4.

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!