i have a multi dimensional array in python like this:
array[x,y]=value
both x
and y
can start from 0
and end in 300
array[0,0]=100
array[1,0]=98
array[2,0]=120
array[3,0]=140
array[4,0]=124
# array[x,y]=value
array[300,299]=200
array[300,300]=170
how can i get the x,y
of higest value of it?
i tryed to do a max()
but i can only get the value
, not x
and y