find the index of the maximum in a list in python code example Example: max of list with index a.index(max(a))