Answers for "assignment 4.6 python for everybody"

0

assignment 4.6 python for everybody

def computepay(h,r):
    if h > 40:
        pa = 40 * r + (h-40)*1.5*r
    else:
        pa = h * r
    return pa

hrs = input("Enter Hours:")
h = float(hrs)
rate = input("Enter Rate")
r = float(rate)
p = computepay(h,r)

print("Pay",p)
Posted by: Guest on August-26-2020

Code answers related to "assignment 4.6 python for everybody"

Python Answers by Framework

Browse Popular Code Answers by Language