1 > 0 == True -> False

Ethan Furman ethan at stoneleaf.us
Thu Jan 30 14:22:17 EST 2014


On 01/30/2014 11:03 AM, Chris Angelico wrote:
> On Fri, Jan 31, 2014 at 5:56 AM, Roy Smith wrote:
>>
>> Yes, that's probably how I would write that, although, this is even simpler:
>>
>> (x > -1) and (y >= 5)
>
> Be careful; that's not the same thing.

How so?

--
~Ethan~



More information about the Python-list mailing list