Login using Social Account
     Continue with GoogleLogin using your credentials
Create a function to calculate the payment to be made based on the hours and rate provided.
pay_calculator
which will calculate the payment to be made to an employeehours
, and rate
, in that orderhours
and rate
hours
and rate
variables. Beyond the 40th hour, the rate will be 1.5 times that of the original rate
variabletotal_pay
and will return the samehours = 45
, and rate = 10
475.0
Taking you to the next exercise in seconds...
Want to create exercises like this yourself? Click here.
Loading comments...