range of characters python code example
Example 1: python range of letters
a = ord('a')
alph = [chr(i) for i in range(a, a+26)]
Example 2: range of letters python
for i in range(ord('a'), ord('z') + 1):
print(chr(i))
# prints all letters in english the alphabet