SyntaxFix
Write A Post
Hire A Developer
Questions
def check_duplicates(my_list): seen = {} for item in my_list: if seen.get(item): return True seen[item] = True return False