Add two arrays without using for. Python

前端 未结 4 1112
后悔当初
后悔当初 2021-01-17 06:26

I have these two arrays:

import numpy as np
a = np.array([0, 10, 20])
b = np.array([20, 30, 40, 50])  

I´d like to add both in the followin

4条回答
提交回复
热议问题