numbers = [5, 4, 7, 3, 9, 1, 2]
biggest_number = max(numbers)
print(numbers.index(biggest_number))
# any list
a = [1, 7, 3, 12, 5]
# index of minimum element
# if more than 1 minimum,
# first index is returned
min_index = a.index(min(a))
# index of maximum element
max_index = a.index(max(a))
result = numpy.where(arr == numpy.amax(arr))
import numpy
input_list = [15,20,35,42,12,8]
max_value = numpy.argmax(input_list)
print(max_value)