How do I add up all of the values of a column in a python array? Ideally I want to do this without importing any additional libraries.
input_val = [[1, 2, 3,
I think this is the most pythonic way of doing this
map(sum, [x for x in zip(*input_val)])