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