主页
Python
Python 列表
demo_list_in
运行 ❯
×
更改方向
保存代码
更改主题
thislist = ["apple", "banana", "cherry"] if "apple" in thislist: print("Yes, 'apple' is in the fruits list")
Yes, 'apple' is in the fruits list