xxxxxxxxxx
result = numpy.where(arr == numpy.amax(arr))
xxxxxxxxxx
numbers = [5, 4, 7, 3, 9, 1, 2]
biggest_number = max(numbers)
print(numbers.index(biggest_number))
xxxxxxxxxx
import numpy
input_list = [15,20,35,42,12,8]
max_value = numpy.argmax(input_list)
print(max_value)