On Wednesday, September 16, 2015 at 9:08:54 AM UTC-4, jmp wrote:
> x = 5
> 3 < x < 10

That's a great example.  I use this case all the time and didn't think to apply 
the same principal to the in/== case.  I assumed that "in" was evaluated first, 
and then the == comparison was made.  Thanks!
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to