W3School TIY Editor

  • W3School 在线教程
  • 改变方向
  • 暗黑模式
​x
 
x = ["apple", "banana"]
​
print("pineapple" not in x)
​
# returns True because a sequence with the value "pineapple" is not in the list