主页
Python
Python in 关键词
demo_ref_keyword_in
运行 ❯
×
更改方向
保存代码
更改主题
fruits = ["apple", "banana", "cherry"] if "banana" in fruits: print("yes")
yes