English, asked by allwinnorbert, 5 months ago

write a python program to input three integers and to display them in ascending order​

Answers

Answered by divyanshigola17
6

Answer:

x = int(input("Input first number")) :

y = int(input("Input second number")) :

z = int(input("Input third number")):

a1 = min( x, y, z) :

a3 = max( x, y, z) :

a2 = ( x + y + z) - a1 - a3 :

print("Numbers in sorted order: ", a1, a2, a3):

Similar questions