Boston Python workshop 2/Friday tutorial: Difference between revisions

Content added Content deleted
Line 399:
 
Or check for a lack of containment with <code>not in</code>:
 
<pre>
"a" not in "abcde"
</pre>
 
<pre>