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

I have the function I just need the it output the answeras a list or empty list if there is no even 2.

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

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