源代码
fruits = ["apple", "banana", "cherry"] if "banana" in fruits: print("yes")
运行结果