Question: make a function called getMoney that takes a discount amount and calculates the money amount of the following: money < $4000 $4000 - $7000 $9000
make a function called getMoney that takes a discount amount and calculates the money amount of the following:
money
< $4000
$4000 - $7000
$9000 or more
extra:
$0
$900
$9000
then write a list comprehension that uses getMoney function to produce extra list where any extra money has been applied to each employee. only use employees who earned extra money of 4000 or more to the list.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
