csc-python-solutions/02/x/5 - Sorting Scramble.py
2021-02-18 21:09:02 +01:00

10 lines
114 B
Python

tmp = max(x, y)
x = min(x, y)
y = tmp
tmp = max(y, z)
y = min(y, z)
z = tmp
tmp = max(x, y)
x = min(x, y)
y = tmp