def bruteForceMultioly(A, B) : C = [] n = len(A) for i in range(0, n) : row = [] for j in range(0, n) : result = 0 for k in range(0, n) : result += A[i][k] * B[k][j] row.append(result) C.append(row) return C
def bruteForceMultioly(A, B) : C = [] n = len(A) for i in range(0, n) : row = [] for j in range(0, n) : result = 0 for k in range(0, n) : result += A[i][k] * B[k][j] row.append(result) C.append(row) return C