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
Get step-by-step solutions from verified subject matter experts
