I have a quite large list with lots of not needed information and only a certain word string that I want. So if I had a list of:
my_list = ["cookies are good", "cookies are bad", "cookies are very good"]
And I wanted to cut everything out except all instances of good in a segment so it would look like this:
my_list = ["cookies are good", "cookies are very good"]
How could I do this? Thank you so much :)