enter image description here
The code refers to the picture attached. I want to remove both \'the\' and \'k3y\' in the word_list, but my code is only able to remove \