On 2013-03-20, franzferdinand <melo.dumou...@hotmail.com> wrote:
>>>> "Monty" < "Python"
> True
>>>> "Z" < "a"
> True
>>>> "Monty" < "Montague"
>
> False
> What's the rule about that?

I don't know what "that" refers to in your question, but 'a' comes
before 'y' if that's what you're asking.

> Is it the number of letters or what?

Individual letters are compared until a mismatch is found.

-- 
Grant Edwards               grant.b.edwards        Yow! You were s'posed
                                  at               to laugh!
                              gmail.com            
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to