SHARE
TWEET

domino2

ugo_nwa May 27th, 2020 805 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. def removeSeenKeys(oldList, newList):
  3.     newListCopy = newList.copy()
  4.     for newItem in newList:
  5.         for oldItem in oldList:
  6.             if newItem == oldItem:
  7.                 newListCopy.remove(oldItem)
  8.     return newListCopy
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top