how to check if a file is duplicate in python 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