1 > 0 == True -> False

Thomas Mlynarczyk thomas at mlynarczyk-webdesign.de
Thu Jan 30 06:44:29 EST 2014


Thibault Langlois schrieb:
>>>> 1 > 0 == True
> False
> What am I missing here ?

This, perhaps:
http://www.primozic.net/nl/chaining-comparison-operators-in-python/

Greetings,
Thomas

-- 
Ce n'est pas parce qu'ils sont nombreux à avoir tort qu'ils ont raison!
(Coluche)



More information about the Python-list mailing list