diff --git a/matrix_mult.py b/matrix_mult.py index e487ac1..6258ac0 100644 --- a/matrix_mult.py +++ b/matrix_mult.py @@ -22,6 +22,9 @@ Example: ... ] >>> multiply(M, N) [[7, 14], [3, 6]] + +NOTE: If you import the matrix_mult module into another project, call it with matrix_mult.multiply(M, N). + """ @@ -36,18 +39,4 @@ def multiply(M: List[List], N: List[List]) -> List[List]: for k in range(mcols): result[i][j] += M[i][k] * N[k][j] return result - - - -M = [ - [1, 2, 4], - [0, 1, 2] -] - -N = [ - [1, 2], - [3, 4], - [0, 1] -] - -print(multiply(M, N)) \ No newline at end of file +