I’m currently working on a python program which does a number of calculations using 3 different arrays. The values of the array at each key (i.e. i[1] is related to a[1] which is also related to q[1].
I am trying to find out which value of q is highest (I was using python’s q.max() function), but I don’t know how to find out the value of the key for that max value. I.e. if the max is q[67] and is equal to 111110029233 how would I get the [67] value so that I can use that key to find the corresponding values in the i list and in a list.
1 Answer