Skip to content

Instantly share code, notes, and snippets.

@nicolasfig
Created October 1, 2012 18:26
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 nicolasfig/3813525 to your computer and use it in GitHub Desktop.
Save nicolasfig/3813525 to your computer and use it in GitHub Desktop.
Llena matrices
matriz = []
n = int(input("Ingrese el # de filas\n"))
m = int(input("Ingrese el # de columnas\n"))
for i in range(n):
matriz.append([])
for j in range(m):
matriz[i].append(input("+"))
for i in range(len(matriz)):
print(matriz[i])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment