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
C:\Users\My Name>python demo_oper_membership2.py
True