“Python Generate List Alphabet” Código de respuesta

Python crea una lista de alfabetos

>>> import string
>>> string.ascii_lowercase
'abcdefghijklmnopqrstuvwxyz'
Frantic Fly

Python Generate List Alphabet

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']
Tofufu

Respuestas similares a “Python Generate List Alphabet”

Preguntas similares a “Python Generate List Alphabet”

Más respuestas relacionadas con “Python Generate List Alphabet” en Python

Explore las respuestas de código populares por idioma

Explorar otros lenguajes de código