Question: In TODO 4 your task is to implement the max_minus_min function with the first_num and second_num parameters. The function takes two numbers as input arguments,

 In TODO 4 your task is to implement the max_minus_min function

In TODO 4 your task is to implement the max_minus_min function with the first_num and second_num parameters. The function takes two numbers as input arguments, subtracts the smaller of the two from the greater one, and returns the result. Below are several examples of the expected behavior: max_minus_min (11,5)#115=6 6 > max_minus_min (7.1,9.2)#9.27.1=2.1 2.1 > max_minus_min(5,-3) \#5-(-3) =8 8 Again, you do not have to worry about invalid input

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 Databases Questions!