5 lines
84 B
Python
5 lines
84 B
Python
x = [2, 3, 1]
|
|
list(sorted(x))
|
|
reversed(sorted(x))
|
|
reversed(sorted(x, reverse=True))
|