Search
 
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
Name
8+5 =