how to give out index of the max of the list in python code example Example: max of list with index a.index(max(a))