Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def has_duplicate_dic(list1): #113
- d = dict()
- for c in list1:
- if c not in d:
- d.setdefault(c, 1)
- else:
- return True
- print(d, list1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement