Exercise 3: Sum the Rows of a Matrix
Write code that calculates the array produced by summing the entries of each row of a matrix.
We'll cover the following
Problem statement
In this exercise, you’re given a nested array. Sum the entries in each row of the matrix and return an array containing these sums.
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy