Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stuff_ive_seen = [] # you've seen nothing
- for x in your_list_with_dupes:
- if x in stuff_ive_seen:
- print('dupe', x)
- stuff_ive_seen.append(x)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement