In [70]:
def main():
def param():
rate = int(input('Enter Rate: '))
hours = int(input('Enter Hours: '))
return param()
def wage(rate,hours):
pay=rate*hours
return wage()
def OT(pay):
pay = rate*1.5
return pay
print ('Pay: ',pay)
In [71]:
In [73]:
In [ ]:
def total_net(hours,rate):
reg_hours = 8
ot_hours = hours - reg_hours
if ot_hours <= reg_hours:
break
ot_rate = 1.5*rate
total_net=rate*reg_hours+ot_rate*ot_hours
return total_net
print (total_net(10,10))
In [ ]:
In [ ]: