Q29Multiple correct5 Marks30 Apr 2023
Let L be a n x m matrix of numbers that has already been defined and populated. We wish to find the sum of the elements in each row and store all such row-sums in a list called rowsum. Rows are indexed from 0 to m-1. For the j-th row, rowsum[j] should be the sum of all elements in that row. Select all correct code snippets that achieve this.