financial.time_and_half_pay =========================== .. py:module:: financial.time_and_half_pay .. autoapi-nested-parse:: Calculate time and a half pay Functions --------- .. autoapisummary:: financial.time_and_half_pay.pay Module Contents --------------- .. py:function:: pay(hours_worked: float, pay_rate: float, hours: float = 40) -> float hours_worked = The total hours worked pay_rate = Amount of money per hour hours = Number of hours that must be worked before you receive time and a half >>> pay(41, 1) 41.5 >>> pay(65, 19) 1472.5 >>> pay(10, 1) 10.0