Get all indexes of a list `a` where each value is greater than `2`,[i for i in range(len(a)) if a[i] > 2]