Skip to content
RED SAGSkills
hard20 pts · first answer countsnumpy

Shape after NumPy broadcasting

What shape does this print?

import numpy as np

a = np.zeros((3, 1))
b = np.zeros(4)
print((a + b).shape)
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions