how to find the index of a maximum number in a list in python code example Example: python return list max inde a.index(max(a))