We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3aeb562 commit f1dcfb5Copy full SHA for f1dcfb5
linear-algebra/matrix_multiplication.py
@@ -5,7 +5,7 @@
5
second_matrix = non_square_matrix()
6
7
if first_matrix.shape[1] != second_matrix.shape[0]:
8
- print('The number of columns in thr first matrix must be equal to the number of rows in the second matrix')
+ print('The number of columns in the first matrix must be equal to the number of rows in the second matrix')
9
else:
10
product = np.dot(first_matrix, second_matrix)
11
print(f'[first matrix] x [second matrix]: {product}')
0 commit comments