Advertisement
Guest User

Untitled

a guest
Jan 16th, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. #Jonathan Majano
  2.  
  3. print("Hello World")
  4.  
  5. inches_str = input("How many inches of rain fell last night? ")
  6. inches_float = float(inches_str)
  7.  
  8. volume = (inches_float/12)*435560
  9.  
  10. gallons = volume * 7.48051945
  11.  
  12. print(inches_float, "in. rain on 1 acre is", gallons, "gallons" )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement