get the index of an element in a list above some value code example
Example: get index of all element in list python
indices = [i for i, x in enumerate(my_list) if x == "whatever"]
indices = [i for i, x in enumerate(my_list) if x == "whatever"]