summaryrefslogtreecommitdiff
path: root/progs/a870.py
blob: ed9bae70eddcde8182ba77ace47a6902c8f3aaf7 (plain)
1
2
3
4
5
def remove_words(list1, removewords):
    for word in list(list1):
        if word in removewords:
            list1.remove(word)
    return list1