Checking for Membership Using Python’s “in” and “not in” Operators
In this video course, you’ll learn how to check if a given value is present or absent in a collection of values using Python’s in and not in operators. This type of check is known as a membership test in Python.
Watch the full course on Real Python.