Question: Write a python function absDiff ( . . . ) that takes two integers as parameters, gets the absolute value of both, subtracts the second
Write a python function absDiff that takes two integers as parameters, gets the absolute value of both, subtracts the second from the first, and returns the difference.
Evaluate the following expression using your function. DO NOT HARD CODE THE VALUES; use variables with the returned value from the absDiff function.
x absDiff
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
