题目是下面这些: 要用到max 和 min
执行 function pay() that takes as input two arguments:
an hourly wage and the number of hours an employee worked in the last week.
Your function should compute and return the employee's pay. Any hours worked beyond 40 is overtime and should be paid at 1.5 times the regular hourly wage.
python 运行之后应该是这个样子
〉〉〉pay(10,10)
100
〉〉〉pay(10,35)
350
〉〉〉pay(10,45)
475
就这个谢谢大家了!
执行 function pay() that takes as input two arguments:
an hourly wage and the number of hours an employee worked in the last week.
Your function should compute and return the employee's pay. Any hours worked beyond 40 is overtime and should be paid at 1.5 times the regular hourly wage.
python 运行之后应该是这个样子
〉〉〉pay(10,10)
100
〉〉〉pay(10,35)
350
〉〉〉pay(10,45)
475
就这个谢谢大家了!