Home / Python Tips Generated By ChatGPT / The in Operator with Lists in Python Check if an item exists in a list. Source Code if "apple" in fruits: print("Apple is in the list")