Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

max python

max_tuple = max(temp_tuple, key=lambda x:x[1])
print(max_tuple)

>> ('B', 3)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #max #python
ADD COMMENT
Topic
Name
1+7 =