Comparison of functions

Steven D'Aprano steve at REMOVETHIScyber.com.au
Sat Jul 30 12:25:54 EDT 2005


On Sat, 30 Jul 2005 13:30:20 +0000, Adriano Varoli Piazza wrote:

> But tell me, how do you think sort works if not with <, >, ==, <= and >= 
> ? I'm really interested.

How do you sort words in a dictionary? Why does five come before four
when the number five is larger than the number four? Why does hundred
come before ten? What does it mean to say that elephant is less than
mouse?

When you can answer those questions, you will be enlightened.

-- 
Steven.




More information about the Python-list mailing list