[sum(a) for a in zip(*array)]
More Related Contents:
- Fastest way to check if a value exists in a list
- Explanation of how nested list comprehension works?
- Find intersection of two nested lists?
- What exactly does the .join() method do?
- Interleave multiple lists of the same length in Python
- Compute list difference
- List of dicts to/from dict of lists
- Transpose nested list in python
- Combine lists with common elements
- How do I split a string into a list?
- How do I prepend to a short python list?
- Python: why does my list change when I’m not actually changing it?
- Break string into list of characters in Python [duplicate]
- Attribute Error: ‘list’ object has no attribute ‘split’
- Getting a default value on index out of range in Python [duplicate]
- Which is faster and why? Set or List?
- Get a list of values from a list of dictionaries?
- How to count the number of words in a sentence, ignoring numbers, punctuation and whitespace?
- Big-O of list slicing
- Repeat each item in a list a number of times specified in another list
- Adding a string to a list using augmented assignment
- convert csv file to list of dictionaries
- What is the meaning of list[:] in this code? [duplicate]
- Is there a way to circumvent Python list.append() becoming progressively slower in a loop as the list grows?
- Difference between consecutive elements in list [duplicate]
- Python list([]) and []
- Mapping dictionary value to list
- How to change variables fed into a for loop in list form
- Length of longest word in a list
- list extend() to index, inserting list elements not only to the end