News

Furthermore, Python contains the notion of "slice-notation," meaning that the programmer can chose small sections of the string, called "substrings" to manipulate as well.
Does anyone know of a way to easily check if a list in Python contains a particular string, e.g.foo.contains("bar")I'm hoping there's some way to do it without resorting to nested loops, etc.