Question: Q# 1 : ( 3 points ) Write a function sum _ even _ rows that takes my _ list as input and returns a

Q#1: (3 points) Write a function sum_even_rows that takes my_list as input and returns a new list where each element is the sum of the even numbers in each row of the list. my_list =[[1,2,3,4],[5,6,7,8],[9,10,11,12]]
The function should return a list of sums, where each sum corresponds to a row in the matrix.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!