Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • I tried what you said. It is giving me an error saying that argument of type function is not iterable. Commented Aug 17, 2014 at 3:58
  • Can you explain me what the line does? Commented Aug 17, 2014 at 4:21
  • why are you using list and split(' ')? Commented Aug 17, 2014 at 4:54
  • i didn't originally use list, it was an edit, i wasn't sure why he was getting an error. put it in thinking maybe his filter object couldn't be used as an iterable in an older version or something. split is there to seperate the string into words Commented Aug 17, 2014 at 4:57
  • yes but you don't need to specify ' ', try splitting 'What is hello' Commented Aug 17, 2014 at 5:03