find the index in which a element occurs in a list python code example
Example: python index for all matches
indices = list(filter(lambda x: x == 'whatever', my_list))
indices = list(filter(lambda x: x == 'whatever', my_list))