All pastes #194367 Raw Edit

paycheck.py

public python v1 · immutable
·published 2006-10-07 21:01 UTC
rendered paste body
pay = input("How many hours did you work this week?")hours = input("How much do you make an hour?")if hours > 40 : print (hours - 40) * (pay * 1.5) + (40 * pay)else:print hours * pay