We're a place where coders share, stay up-to-date and grow their careers.
I made an alternative Python version with a list comprehension:
def find_all(list, value): return [ i for i, n in enumerate(list) if n == value ]
I made an alternative Python version with a list comprehension: