I have these arrays in python:
noDuplicateArr = ['"foo barr', '"foo corp', '"barr corp']
wordsArr = ['"fool barr', '"fool corp"']
Now what's the best approach to not append in noDuplicateArr
the words "fool barr"
& "fool corp"
because "barr"
and "corp"
are already present in noDuplicateArr
?