Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Duplicate checker/counter
- # IDList en countList moeten globale variabelen worden
- def dup(read, IDList, countList):
- ID = read[0]
- # countList = []
- # IDList = []
- if ID in IDList:
- countList[IDList.index(ID)] += 1
- else:
- IDList.append(ID)
- countList.append(1)
- return IDList, countList
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement