Question: in Python I need to create a function that will count all the even numbers in this list of list: import random import math def

in Python I need to create a function that will count all the even numbers in this list of list:

import random import math

def print2D(list): for row in range (0,4) : for col in range (0,3): print(list[row][col],end = ' ') print('')

list = [[random.randint(0,25)for x in range (3)] for y in range(4)]

print2D(list)

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 Databases Questions!