DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
find index of maximum value in list python
import numpy input_list = [15,20,35,42,12,8] max_value = numpy.argmax(input_list) print(max_value)
Source by java2blog.com #
PREVIOUS
NEXT
Tagged:
#find
#index
#maximum
#list
#python
ADD COMMENT
Topic
COMMENT
Name
8+5 =
Submit