Entfernen eines Elements aus einer Liste, das einer Teilzeichenfolge entspricht

Wie entferne ich ein Element aus einer Liste, wenn es einer Teilzeichenfolge entspricht?

Ich habe versucht, ein Element mit der Taste aus einer Liste zu entfernenpop() undenumerate Methode, aber es scheint, als würde mir ein paar zusammenhängende Elemente fehlen, die entfernt werden müssen:

sents = ['@$\tthis sentences needs to be removed', 'this doesnt',
     '@$\tthis sentences also needs to be removed',
     '@$\tthis sentences must be removed', 'this shouldnt',
     '# this needs to be removed', 'this isnt',
     '# this must', 'this musnt']

for i, j in enumerate(sents):
  if j[0:3] == "@$\t":
    sents.pop(i)
    continue
  if j[0] == "#":
    sents.pop(i)

for i in sents:
  print i

Ausgabe:

this doesnt
@$  this sentences must be removed
this shouldnt
this isnt
#this should
this musnt

Gewünschte Ausgabe:

this doesnt
this shouldnt
this isnt
this musnt

Antworten auf die Frage(3)

Ihre Antwort auf die Frage