How to import all the letters of the alphabet in Python

1 Answer

0 votes
import string

alphabet_lowercase = string.ascii_lowercase

print(alphabet_lowercase)

alphabet_uppercase = string.ascii_uppercase

print(alphabet_uppercase)





'''
run:

abcdefghijklmnopqrstuvwxyz
ABCDEFGHIJKLMNOPQRSTUVWXYZ

'''

 



answered Sep 3, 2021 by avibootz

Related questions

...