Python membership operators look for values in objects (lists, tuples, classes) and returns a True/False value depending on the presence of the value in the object.
syntax
""
Operator
Description
Syntax
in
looks for value in given object, returns True if the value is present
a in myList
not in
looks for value in given object, returns True if the value is NOT present