Question: Write a Python program that prompts the user to input three numbers. The program should then output the numbers in ascending order. Since string function
Write a Python program that prompts the user to input three numbers. The program should then output the numbers in ascending order.
Since string function split() hasn't been covered, instead of one line of input, ask three numbers from user on three lines.
a=input("Please enter the first integer: ")
b=input("Please enter the second integer: ")
c=input("Please enter the third integer: ")
***Do NOT use nested conditionals (nested-if). Use one if-elif statement.
if
elif
elif
elif
....

Please enter the first integer: 2 Please enter the second integer: 3 Please enter the third integer: 1 Input three integer numbers in ascending order: 1 2 3 Please enter the first integer: 3 Please enter the second integer: 1 Please enter the third integer: 2 Input three integer numbers in ascending order: 1 2 3 Please enter the first integer: 1 Please enter the second integer: 2 Please enter the third integer: 3 Input three integer numbers in ascending order: 1 2 3 **********
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
