Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created December 26, 2021 19:13
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/baa090141090ee5d809ba202edc0bf01 to your computer and use it in GitHub Desktop.
Save parzibyte/baa090141090ee5d809ba202edc0bf01 to your computer and use it in GitHub Desktop.
def crear_tablero(filas, columnas):
tablero = []
for fila in range(filas):
tablero.append([])
for columna in range(columnas):
tablero[fila].append(ESPACIO_VACIO)
return tablero
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment