"Mr.SpOOn" <[email protected]> wrote in message news:[email protected]...
> In [13]: ('b3' and '5') in l or ('3' and 'b3') in l
> Out[13]: True
For anything more than the simplest cases, you might want use sets.
That might be the correct data type from the start, depending on
whether the ordering is important anywhere.
--
http://mail.python.org/mailman/listinfo/python-list
