Solved, left the code here if someone would like to see it
Grande=Big
Chica=Small
Filas=Rows
Columnas=Columns
Entra=Fits
Veces=Times
maybe those few word translations will be useful :)
Grande=Big
Chica=Small
Filas=Rows
Columnas=Columns
Entra=Fits
Veces=Times
maybe those few word translations will be useful :)
import numpy as np nGrande = 8 matrizGrande = np.zeros((nGrande,nGrande)) for i in range(1,matrizGrande.shape[0]+1): matrizChica = np.zeros((i,i)) filasMatriz = matrizChica.shape[0] columnasMatriz = matrizChica.shape[1] entra = matrizGrande.shape[0]//filasMatriz * matrizGrande.shape[0]//columnasMatriz print("La Matriz de",str(i)+"x"+str(i)+" entra",entra, "veces en la matriz de",str(matrizGrande.shape[0])+"x"+str(matrizGrande.shape[0]))