Hmm... An idea: if a,b==c,d:
Andrew Koenig
ark at research.att.com
Mon Nov 18 18:32:10 EST 2002
>> Instead, (a, b) >= (c, d) is defined as (a>c or (a==c and b>=d)).
Richard> I just keep reading that again and again and thinking "WTF?
Richard> Why? Wha...."
Because that way it's an order relation.
Think of it as testing whether a word beginning with the letters
contained in "a" and "b" should come after a word beginning with
the letters contained in "c" and "d" in a dictionary.
--
Andrew Koenig, ark at research.att.com, http://www.research.att.com/info/ark
More information about the Python-list
mailing list