find index of all coccurance in python code example Example: python index for all matches indices = list(filter(lambda x: x == 'whatever', my_list))