0
Can you define lexographical order w.r.t python
3 Respostas
+ 3
Take two words.
If first letter of word1 is smaller (comes earlier in the alphabet) than the first letter of word2, the test ends, and word1 is smaller (comes earlier in a dictionary). And vice versa.
If they are equal, the second letters are checked.
And so forth.
+ 1
HonFu example please