You are given a rectangular matrix (a list of lists of numbers) with at least one row and one column, where every row has the same length.
Return a list in which the element at index j is the sum of all numbers in column j of matrix.
The length of the returned list equals the number of columns in matrix.
NOTE: This is a function-type question — you only write the function. Do not read input or print anything; a hidden checker calls your function and checks its return value.
Arguments
[[1, 2], [3, 4]]
Returns
[4, 6]