Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def computepay(Hours, Rate):
- gross_pay = (h - 40) * (1.5 * r) + (40 * r)
- return gross_pay
- Hours = input("give me hours")
- h = float(Hours)
- Rate = input("give me rate")
- r = float(Rate)
- x = computepay(h, r)
- print(x)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement