python check for duplicates in list of lists code example
Example: python check for duplicate
def checkDuplicate(user):
if len(set(user)) < len(user):
return True
return False
def checkDuplicate(user):
if len(set(user)) < len(user):
return True
return False