DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python sort list in reverse
#1 Changes list list.sort(reverse=True) #2 Returns sorted list sorted(list, reverse=True)
PREVIOUS
NEXT
Tagged:
#python
#sort
#list
#reverse
ADD COMMENT
Topic
COMMENT
Name
6+9 =
Submit