Home / Python Tips Generated By ChatGPT / The in Keyword for Membership Testing in Python Check for membership within a collection. Source Code if "a" in ["a", "b", "c"]: print("Found 'a'!")