Question: I have the function I just need the it output the answer as a list or empty list if there is no even 2. Write
I have the function I just need the it output the answer as a list or empty list if there is no even


2. Write a function called large st_even that takes a 2dlist of integers as a parameter and returns the maximum even value for the entire list. Your function should return a list with that number or an empty list if all the numbers in the 2d-list are odd. Save the function in a PyDev library module named functions . py Write a program t02.py that tests large st_even function 0 Do NOT use python's list method max(). 0 Test your function with 3 different 2d-list, hardcoded in t02.py print (result) def largest_even (data) : m=0#Intalizing a comparsion to valu for List1 in data: #Picking columns for x in List1: #Picking values if (x%2==0 and x>m) :#Checks m=x#If the value is big return m
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
