how to get alphabet in python code example
Example 1: python alphabet
>>> import string
>>> string.ascii_lowercase
'abcdefghijklmnopqrstuvwxyz'
Example 2: alphabet python
for i in range(ord('a'), ord('z') + 1):
print(chr(i))
# prints all letters in english the alphabet