i for i
iL = [i for (i, x) in enumerate(a) if x == -1]
Enchanting Eland
iL = [i for (i, x) in enumerate(a) if x == -1]