Run ❯
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
import numpy as np arr1 = np.array([10, 11, 12, 13, 14, 15]) arr2 = np.array([20, 21, 22, 23, 24, 25]) newarr = np.add(arr1, arr2) print(newarr)
[30 32 34 36 38 40]