You have already completed these exercises!
Do you want to take them again?
You completed the NUMPY Summations Exercises from W3Schools.com
Share on:
Consider the following code:import numpy as nparr1 = np.array([5, 1, 2])arr2 = np.array([3, 2, 2])newarr = np.sum([arr1, arr2])What will be the result of newarr?
import numpy as nparr1 = np.array([5, 1, 2])arr2 = np.array([3, 2, 2])newarr = np.sum([arr1, arr2])
newarr
[8 3 4]
[8 7]
15