python character range code example Example: python range of letters a = ord('a') alph = [chr(i) for i in range(a, a+26)]