Name: Anonymous 2011-12-20 5:33
How can I remove all the words in one list from another list without loosing duplicates or order?
eg:
aList = ['so', 'what', 'man', 'what']
noiseWords = ['so', 'um', 'crap']
I want aList without the 'so' in noiseWords.
Using Python 3.1 btw, thanks for any help.
eg:
aList = ['so', 'what', 'man', 'what']
noiseWords = ['so', 'um', 'crap']
I want aList without the 'so' in noiseWords.
Using Python 3.1 btw, thanks for any help.