Python "member of" function

brianlum at gmail.com brianlum at gmail.com
Sat Apr 29 06:35:20 EDT 2006


Hi,

I was wondering if anyone knew of a built in Python function that will
check if an item is a member of a list, i.e., if item i is a member of
list l.

I read of a function "in" but I can't seem to get that to work and
finding pages for "python in" does not reveal very many relevant
sources.

Thanks!




More information about the Python-list mailing list