Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created September 12, 2020 01:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/889d69b71b6d2cee3ede5351e9a75011 to your computer and use it in GitHub Desktop.
Save parzibyte/889d69b71b6d2cee3ede5351e9a75011 to your computer and use it in GitHub Desktop.
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