主页
Python
Python 运算符
demo_oper_membership2
运行 ❯
×
更改方向
保存代码
更改主题
x = ["apple", "banana"] print("pineapple" not in x) # returns True because a sequence with the value "pineapple" is not in the list
True