Run
start_ch = 'a' end_ch = 'z' start = ord(start_ch) stop = ord(end_ch) + 1 my_range = range(start, stop) for ch in my_range: print(chr(ch))
Output