O Level Papers!
ord() returns the ASCII (or Unicode) value of a character. For example, ord('A') returns 65.