What does the name of the ord() function stand for?
It stands for “ordinal”. The earliest use of ord that I remember was in Pascal. There, ord() returned the ordinal value of its argument. For characters this was defined as the ASCII code. The same convention was also used in Modula-2. Later, Python (as well as PHP, some dialects of SQL etc) followed this convention, … Read more