Code QuizIntermediate Element-wise vs Matrix Operations
Distinguishing element-wise multiply from a true matrix product.
Codepython
import numpy as np
A = np.array([[1, 2],
[3, 4]])
B = np.array([[5, 6],
[7, 8]])
# Compute the matrix product A B
product = A * B
print(product)What is the bug in this code?