Im new to coding and am looking for some help.
I need to remove words of a small list from a large list.
clean_book = [word for word in bwords_split if word in words_list]
I used the line above where bwords_split
is the larger list and words_list
is the smaller list and clean_book
is the result. I think I'm thinking to arthemetically. Could someone help me?