I\'m wondering how Python does string comparison, more specifically how it determines the outcome when a less than (<) or greater than (>) op
<
>
This is a lexicographical ordering. It just puts things in dictionary order.