Solved by Expert Tutors
I am stuck on this Python programming script.
Solved by Expert Tutors
Question

# I am stuck on this Python programming script. Can someone help me figure this out Thanks

Problem 2

A town uses a two-tier system to calculate bill for water usage.  For the first 8000 gallons, it is \$0.004 per gallon.  After the first 8000 gallons, the rate will be \$0.007 per gallon. Suppose a customer uses 8500 gallons of water.  He will pay \$0.004 per gallon for the first 8000 gallons, and \$0.007 per gallon for the last 500 gallons. Write a Python program to determine how much a customer needs to pay.  Ask the user how much water he has used.  Calculate and display the water bill. The following are two examples.

Enter gallons of water used: 2100

Enter gallons of water used: 8500

tesque dapibus ef

gue vel laoreetinia pulvinar tortor nec facilis,

molestie0

unec faciliituru

Donec aliquet. Lorem ipsum diturlestitrictuiturste

ipsuf

ac, dictum vitae odio. Donec alte

rem its ante, dapibus a molestie co, dictum

### Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

• ### -

Study Documents

Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

Browse Documents