Welcome to Senpaicode
Hi coders! It is a basic python program in which three numbers are arranged in descending orders using simple basic python command.
In this program we have nested if and else statement and this ">" sign to compare between numbers.
These are the following steps to write this program:
1. Input three numbers
2. Compare the first condition num1>num2>num3 or num1>num3>num2
3. Compare the second condition num2>num1>num3 or num2>num3>num1
4. Compare the third condition num3>num1>num2 or num3>num2>num1
5. Last run the code
To view code click on the given link:
1 Comments
Nice
ReplyDelete