All Caps Alphabet comme liste
['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']
Butty Code
['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']
import string
thelist = list(string.ascii_lowercase)
print(thelist)
thelist = list(string.ascii_uppercase)
print(thelist)
thelist = list(string.hexdigits)
print(thelist)
thelist = list(string.octdigits)
print(thelist)
thelist = list(string.punctuation)
print(thelist)
thelist = list(string.whitespace)
print(thelist)
>>> w = 'AbcDefgHijkL'
>>> r = re.findall('([A-Z])', word)
>>> r
['A', 'D', 'H', 'L']