so i was going trough the basic algorithms part of computer science, and i was asked to make a function that finds the max value within a linked list, so i made the function without really seeing the test code that was already provided in the exercise. :
then when i hit run and saw the test code output, i saw that one of the test linked lists was made with letters instead of numbers and it works the same
and my question is, do letters work with operands the same way numbers do? like a < z = True
i probably missed one of the bases or i cant remember but this bugged me
Strings (instances of str) compare lexicographically using the numerical Unicode code points (the result of the built-in function ord()) of their characters. [3]