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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!