python generate list alphabet

PHOTO EMBED

Tue Dec 13 2022 06:17:24 GMT+0000 (Coordinated Universal Time)

Saved by @tofufu #python

import string
alphabet = list(string.ascii_lowercase)
print(alphabet)

# Returns: ['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']
content_copyCOPY

https://datagy.io/python-list-alphabet/