Write a function that calculates overtime and pay associated with overtime.
Your function gets a list with 4 values:
Your function should spit out:
$ + earned that day (rounded to the nearest hundreth)over_time([9, 17, 30, 1.5]) ➞ "$240.00"
over_time([16, 18, 30, 1.8]) ➞ "$84.00"
over_time([13.25, 15, 30, 1.5]) ➞ "$52.50"
2nd example explained:
1 * 30 = 301 * 30 * 1.8 = 5430 + 54 = $84.00