Holen Sie sich Index mit dem höchsten Wert in Array Python
result = numpy.where(arr == numpy.amax(arr))
Faithful Fish
result = numpy.where(arr == numpy.amax(arr))
numbers = 1,3,11,42,12,4001
highestnumber = -999
for i in numbers:
if i > highestnumber:
highestnumber = i
print(numbers.index(highestnumber))