Answers for "how to make a program that sorts two digit numbers in python"

0

how to make a program that sorts two digit numbers in python

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)
Posted by: Guest on June-15-2020

Code answers related to "how to make a program that sorts two digit numbers in python"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language