10.5. List Membership

in and not in are boolean operators that test membership in a sequence. We used them previously with strings and they also work here.

Check your understanding

You have attempted 1 of 4 activities on this page