demo_oper_membership2.py:
x = ["apple", "banana"] print("pineapple" not in x) # returns True because a sequence with the value "pineapple" is not in the list
➜ begtut>python demo_oper_membership2.py
True