Benjamin Kaplan wrote:
.... Python does not support compound comparisons like that. You have to do "a > b and b > c".
Funny, my python does. This has been around a long time.
I am not certain whether 1.5.2 did it, but "chained comparisons"
have been around for a long time.
>>> 'a'< 'd' <'z'
True
>>> 'a'< 'D' <'z'
False
--Scott David Daniels
[email protected]
--
http://mail.python.org/mailman/listinfo/python-list
