(python) How do you add elements from two arrays together, while keeping the original size

前端 未结 0 547
南方客
南方客 2021-02-04 00:31

If I have two arrays: [1,3,4,5,6] and [4,5,3,2,1] how do I add them into one single array while keeping the original size so that I would get the output [5,8,7,7,7], for example

相关标签:
回答
  • 消灭零回复
提交回复
热议问题