Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

sorted function in python 3

>>> sorted({1: 'D', 2: 'B', 3: 'B', 4: 'E', 5: 'A'})
[1, 2, 3, 4, 5]
Source by docs.python.org #
 
PREVIOUS NEXT
Tagged: #sorted #function #python
ADD COMMENT
Topic
Name
5+7 =