Code QuizIntermediate Computing an Outer Product
Identify why this code fails to build the outer product matrix.
Codepython
import numpy as np
u = np.array([1, 2, 3])
v = np.array([4, 5])
# Goal: 3x2 outer product matrix
result = np.dot(u, v)
print(result)
What is the bug in this code?