def computepay(h,r): if h > 40: p = 1.5 * r * (h - 40) + (40 *r) else: p = h * r return p hrs = input("Enter Hours:") hr = float(hrs) rphrs = input("Enter rate per hour:") rphr = float(rphrs) p = computepay(hr,rphr) print(p) ..............why this code shows result error using 45 for hours and 10.50 for rate
Answers
Answered by
14
Answer:
gsgdhuddhdudid
ydhdndjdi
Similar questions