Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def array_diff(a, b):
- c = a.copy()
- for i in a:
- if i in b:
- del c[c.index(i)]
- return c
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement