Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

sort python

>>> x = [1 ,11, 2, 3]
>>> y = sorted(x)
>>> x
[1, 11, 2, 3]
>>> y
[1, 2, 3, 11]
Source by wikidocs.net #
 
PREVIOUS NEXT
Tagged: #sort #python
ADD COMMENT
Topic
Name
7+6 =