# built-in function ord converts character to numeric code # chr converts numeric codes to characters # letters of the alphabet are encoded in alphabetical order ord('c') - ord('1') >> 2 # NOTE: numeric codes for uppercase letters are different
# built-in function ord converts character to numeric code # chr converts numeric codes to characters # letters of the alphabet are encoded in alphabetical order ord('c') - ord('1') >> 2 # NOTE: numeric codes for uppercase letters are different