Question #307010

Create two numpy arrays and add the elements of both the arrays and store the result in sumArray.


Expert's answer

import numpy as np

array1 = np.array([3, 14, 15, 92])
array2 = np.array([2, 18, 28, 18])

sumArray = array1 + array2

print('sumArray =', sumArray)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS