Page 1 of 1

Question 3 Not complete Marked out of 1.00 Flag question Define a function named get_sum_evens (list_of_lists) which tak

Posted: Thu May 26, 2022 9:40 am
by answerhappygod
Question 3 Not Complete Marked Out Of 1 00 Flag Question Define A Function Named Get Sum Evens List Of Lists Which Tak 1
Question 3 Not Complete Marked Out Of 1 00 Flag Question Define A Function Named Get Sum Evens List Of Lists Which Tak 1 (23.38 KiB) Viewed 22 times
Question 3 Not complete Marked out of 1.00 Flag question Define a function named get_sum_evens (list_of_lists) which takes a list of lists as a parameter. The function returns the sum of all the even numbers in the parameter 2-dimensional list. For example: Result Test 12 numbers = [[1, 2, 3], [2, 3, 4], [3, 4, 5]] print (get_sum_evens (numbers)) data = [[1, 2, 3, 4, 5], [2, 3, 4, 5, 6], [3, 4, 5, 6, 7], [4, 5, 6, 7, 8], [5, 6, 7, 8, 9]] 60 print (get_sum_evens (data)) Answer: (penalty regime: 0 %)