June 2017
Beginner
352 pages
8h 39m
English
Membership is a fundamental operation for sets, and as with the other collection types is performed using the in and not in operators:
>>> q = { 2, 9, 6, 4 }>>> 3 in qFalse>>> 3 not in qTrue
Read now
Unlock full access