Question: Write a Python program that takes three (3) numbers as input and returns the same three (3) numbers in descending order as output. You may

Write a Python program that takes three (3) numbers as input and returns the same three (3) numbers in descending order as output. You may not use any built-in functions. You must do this using only conditionals and assignments (=).

The first output argument of your function should be the maximum value, the second output should be the middle value, and the third output should be the smallest value.

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!