アスキーコードを使う方法
アルファベット小文字のリスト
komoji = [chr(i) for i in range(97,123)]
#可読性を上げるなら
komoji = [chr(i) for i in range(ord('a'),ord('z')+1)]
アルファベット大文字のリスト
omoji = [chr(i) for i in range(65,91)]
#可読性を上げるなら
omoji = [chr(i) for i in range(ord('A'),ord('Z')+1)]
stringモジュールを使う方法
アルファベット小文字のリスト
import string
komoji = list(string.ascii_lowercase)
アルファベット大文字のリスト
import string
omoji = list(string.ascii_uppercase)
結果
いずれの方法を使ったとしても
print(komoji)
#['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z']
print(omoji)
#['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']
このようなリストが出来上がります。
参考
stringモジュールの詳しい使い方 https://techblog.nullstack.engineer/entry/python3_string-module/