Answer to Question #307010 in Python for Akash

Question #307010

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


1
Expert's answer
2022-03-06T14:04:10-0500
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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS