Question: Please use PYTHON to solve this problem: Please note the following things: def even_product_2d (grid): Given a list of lists of numbers, named grid, multiply
Please use PYTHON to solve this problem:

Please note the following things:

def even_product_2d (grid): Given a list of lists of numbers, named grid, multiply all the even numbers in grid and return the product. If there are no even numbers, return 1. o Assume: grid is a list of lists of numbers, e.g. [[1,2,3], [4,5,6]] o Restrictions: no extra restrictions. even-product-2d([[1, 2, 3],[4,5,6]]) even-product-2d([ [2,1,7],[],[-3,5]]) even_product_2d([[]]) 48 2 1 #evens are: 2,4,6 # 2 is the only even value # no even value
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
