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,
In case you decide to use any library, numpy easily does this:
np.sum(input_val,axis=0)