Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
class Matriz:
def __init__(self, columnas, filas):
self.filas= filas
self.columnas= columnas
print("filas: ",filas,"columnas: ",columnas)
def llenarMattriz(self, filas, columnas):
matriz = []
for i in range(filas):
for j in range(columnas):
matriz[i].append(int(input("Digite el elemento a adicionar: ")))
matriz= Matriz(3,3);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.