How can I find index of column with smallest sum of elements. I would like to find short solution which uses lambdas. For example for given matrix:
[[7, 2, 7, 2, 8],
[2, 9, 4, 1, 7],
[3, 8, 6, 2, 4],
[2, 5, 2, 9, 1],
[6, 6, 5, 4, 5]]
It should return 3. Because third column has smallest sum of elements.