Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

sorted function in python 3

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