n00m <n...@narod.ru> wrote: > And now it's elephants instead of vectors. > Def: an elephant is smarter than another one IIF > its size is strictly less but its IQ is strictly > greater > > I.e. you can't compare (2, 8) to (20, 50) > or let count them as equally smart elephants.
and that still isn't a relationship where you can get any meaningful order out of sorting them: >>> Elephant(1, 20) < Elephant(2, 10) True >>> Elephant(1, 20) == Elephant(2, 20) == Elephant(2, 10) True -- http://mail.python.org/mailman/listinfo/python-list