Logic operators with "in" statement

Xavier Ho contact at xavierho.com
Mon Nov 16 15:30:33 CET 2009

On Tue, Nov 17, 2009 at 12:08 AM, Mr.SpOOn <mr.spoon21 at gmail.com> wrote:

> Sorry for replying to myself, but I think I understood why I was wrong.
> The correct statement should be something like this:
> In [13]: ('b3' and '5') in l or ('3' and 'b3') in l
> Out[13]: True
Carlo, I'm not sure what that achieves. Care to enlighten me?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20091117/66f270b4/attachment.html>

More information about the Python-list mailing list