Answers for "if a list has two identical items return only one"

1

python check for duplicate

def checkDuplicate(user):
    if len(set(user)) < len(user):
        return True
    return False
Posted by: Guest on November-20-2020

Code answers related to "if a list has two identical items return only one"

Python Answers by Framework

Browse Popular Code Answers by Language