AT
In Python, lexicographical comparison works the same for longer strings. For example, comparing "Alice Wonderland" and "Bob Marley", Python compares characters one by one. The first character 'A' (65) in "Alice" is smaller than 'B' (66) in "Bob", so "Alice Wonderland" is considered less. If characters match, it continues to the next character until a difference is found or one string runs out of characters.