Computer Science, asked by mukeshhhkumar7, 6 months ago

Use Exception handling in python to check for dimensions of geometrical shapes. (at least three figures)

Answers

Answered by shashidubey1119
0

Answer:

= np.array([0, 1, 2]) b = np.array([5, 5, 5]) a + b

Out[2]:

array([5, 6, 7])

Broadcasting allows these types of binary operations to be performed on arrays of different sizes–for example, we can just as easily add a scalar (think of it as a zero-dimensional array) to an array:

Similar questions