Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

max of first element in a list of tuples

max(list,key=lambda x:x[1])
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #max #element #list #tuples
ADD COMMENT
Topic
Name
9+9 =