Reference: ord
ord(s), where s is a single character, i.e. a string of length one, returns the Unicode codepoint (or, for the 128 first characters, equivalently, the ASCII code) of s. Example: ord("⊲") = 8882
ord(s), where s is a single character, i.e. a string of length one, returns the Unicode codepoint (or, for the 128 first characters, equivalently, the ASCII code) of s. Example: ord("⊲") = 8882