Anonymous user
Boston Python Workshop 3/Data types: Difference between revisions
→Containment with 'in' and 'not in'
imported>Jesstess |
imported>Jesstess |
||
Line 77:
====Containment with 'in' and 'not in'====
<
>>> "H" in "Hello"
True
>>> "a" not in ["a", "b", "c"]
False
</pre>
====Equality====
|