def remove_words(list1, removewords):
    
    for word in list(list1):
        if word in removewords:
            list1.remove(word)
    return list1  
def remove_words(lines, removewords):
    for word in list(lines):
       
        if word in removewords:
            lines.remove(word)
    return lines