Convert alphabet letters to number in Python,chr(ord('x')) == 'x'