DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
3+5 =
Submit