[Python-ideas] Use the plus operator to concatenate iterators

Alexander Belopolsky alexander.belopolsky at gmail.com
Wed Aug 5 03:21:44 CEST 2015


On Tue, Aug 4, 2015 at 9:06 PM, Chris Angelico <rosuav at gmail.com> wrote:
> Being able to add a list and a list is a perfectly reasonable feature.

Sure

>>> from numpy import array
>>> array([1,2,3]) + array([3,2,1])
array([4, 4, 4])

.. and how do I concatenate those things?


More information about the Python-ideas mailing list