Question: Write a function that will return the square root of a number if it is not negative, otherwise return None. Test it with the following
Write a function that will return the square root of a number if it is not negative, otherwise return None. Test it with the following numbers:
b Write a lambda function that takes quantity, price and tax as decimal value for as input and returns sale amount including tax. Test it with quantity price $ and tax
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
