15.3. In and Not InΒΆ
To check if an item is in a list, we can use the in operator. To check if something is
not in a list, we can use not in:
Because in and not in are opposites, we can often use just one or the other and
handle the other case with else:
You have attempted of activities on this page
