Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # lists_difference.py
- # Getting difference between list
- a = ['one',2,'three','five']
- b = [2,'five','six']
- c = list(set(a) - set(b)) # ['three','one']
- print c
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement