10 lines
114 B
Python
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
|