Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

sort list python

>>> a = [5, 2, 3, 1, 4]
>>> a.sort()
>>> a
[1, 2, 3, 4, 5]
Source by docs.python.org #
 
PREVIOUS NEXT
Tagged: #sort #list #python
ADD COMMENT
Topic
Name
3+2 =