Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Jonathan Majano
- print("Hello World")
- inches_str = input("How many inches of rain fell last night? ")
- inches_float = float(inches_str)
- volume = (inches_float/12)*435560
- gallons = volume * 7.48051945
- print(inches_float, "in. rain on 1 acre is", gallons, "gallons" )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement