how to get all index of array in python code example
Example: get all index of item 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"]