Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def removeSeenKeys(oldList, newList):
- newListCopy = newList.copy()
- for newItem in newList:
- for oldItem in oldList:
- if newItem == oldItem:
- newListCopy.remove(oldItem)
- return newListCopy
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement