Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction to Wireless and Mobile Systems

Authors: Dharma P. Agrawal, Qing An Zeng

4th edition

1305087135, 978-1305087132, 9781305259621, 1305259629, 9781305537910 , 978-130508713

More Books

Students also viewed these Programming questions

Question

1. What is employment? 2. What is the rewards for employment?

Answered: 1 week ago

Question

1. What is meant by Landslide? 2.The highest peak in Land?

Answered: 1 week ago

Question

What are the impact of sand mining in rivers ?

Answered: 1 week ago

Question

What are the important Land forms in Lithosphere ?

Answered: 1 week ago