Advertisement
Shannon

py4infoex2.3

Nov 11th, 2011
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.20 KB | None | 0 0
  1. #!C:\Python32
  2. #Filename: py4infoex2.3.py
  3.  
  4. hours = float (input ('hours worked?\n'))
  5. rate = float (input ('hourly wage?\n'))
  6.  
  7. pay = round ((hours * rate), 2)
  8. print ('wages earned: ${0}'.format(pay))
  9.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement