We're a place where coders share, stay up-to-date and grow their careers.
Or with sets!
def array_diff(a, b): return list(set(a) - set(b))
Or with sets!