Removing an item from list matching a substring
Removing an item from list matching a substring Question: How do I remove an element from a list if it matches a substring? I have tried removing an element from a list using the pop() and enumerate method but seems like I’m missing a few contiguous items that needs to be removed: sents = [‘@$tthis …