Guest User

Untitled

a guest
Aug 11th, 2016
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. hrs = raw_input("Enter Hours:")
  2. h = float(hrs)
  3. rate = raw_input("Enter Rate: ")
  4. r = float(rate)
  5.  
  6. if h < 40
  7. pay = h * r
  8.  
  9. else h > 40
  10. pay = h * (r * 1.5)
  11.  
  12. print pay
Add Comment
Please, Sign In to add comment