NumPy - Broadcasting
What will be the output of this code?
import numpy as np x = np.array([[1], [2], [3]]) y = np.array([10, 20, 30]) print(x + y)
import numpy as np x = np.array([[1], [2], [3]]) y = np.array([10, 20, 30]) print(x + y)
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions