I am trying to print the index position of the highest number in a list.
Here is the code I have so far:
aList = [2,1,5,234,3,44,7,6,4,5,9,11,12,14,13] max = 0 for i in (aList): if I > max: i = max + i print(aList.index(i))
I do not want to print the highest number but the index of that number. Thank you.