Is there any way in Python to get all indexes of elements which contain max value of a list?
I've tried this:
list = [1, 3, 2, 2, 1, 1, 1, 2, 3, 2, 1, 1, 1, 3, 1, 1, 3]
m = list.index (max(list))
But this returns only the first index of all of those which have max value.