-
-
Save parzibyte/889d69b71b6d2cee3ede5351e9a75011 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def obtenerPalabrasDeGrupo(grupo): | |
palabras = [] | |
with open(grupo + ".txt") as archivo: | |
for linea in archivo: | |
linea = linea.rstrip() | |
palabras.append(linea) | |
return palabras |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment