Home / Python Tips Generated By ChatGPT / The in Operator in Python Check for membership in sequences (lists, strings), sets, and keys in dictionaries. Source Code if "a" in ["a", "b", "c"]: print("Found 'a'!")