Guest User

Untitled

a guest
Feb 21st, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. name = raw_input("What is your name?")
  2.  
  3. salary = raw_input("What is your annual salary?")
  4.  
  5. tax = float(raw_input("What is your tax rate? (Convert it to decimals)"))
  6.  
  7. vactaion = int(raw_input("How many not paid vacation weeks do you have?"))
  8.  
  9. hourlypay = salary / ( 52 - vactaion ) * tax / 40
  10.  
  11. print " %, your hourly pay after taxes is %." % ( name, hourlypay),
  12.  
  13. salary = float(raw_input("What is your annual salary?")
Add Comment
Please, Sign In to add comment