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

Solutions on MaxInterview for how to make a program that sorts two digit numbers in python by the best coders in the world

showing results for - "how to make a program that sorts two digit numbers in python"
Alessandro
17 May 2019
1x = int(input("Input first number: "))
2y = int(input("Input second number: "))
3z = int(input("Input third number: "))
4
5a1 = min(x, y, z)
6a3 = max(x, y, z)
7a2 = (x + y + z) - a1 - a3
8print("Numbers in sorted order: ", a1, a2, a3)
9
10