Znajdź cały element na liście Python
indices = [i for i, x in enumerate(my_list) if x == "whatever"]
Gleaming Gaur
indices = [i for i, x in enumerate(my_list) if x == "whatever"]