DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python list sort key lambda on equal other function
list1.sort(key=lambda x: (x.value1, x.value2))
PREVIOUS
NEXT
Tagged:
#python
#list
#sort
#key
#lambda
#equal
#function
ADD COMMENT
Topic
COMMENT
Name
6+5 =
Submit