检查列表项是否存在检查列表项是否存在thislist = ["apple", "banana", "cherry"]if "apple" in thislist: print("Yes, 'apple' is in the fruits list")