Question: Complete the following two functions that can be used for lists. ( i ) This function receives a list of numbers and return all of

Complete the following two functions that can be used for lists.
(i) This function receives a list of numbers and return all of the even numbers
ewhich are larger than 0. The function should return None if there is no even
number. Assume that the parameter numlist is a list.
def multEven(numlist)
For example:
If the input list is [43,17,59,22,58,67,0,15], the returned list is [22,58]
(ii) This function returns True if any number in the list parameter check is equal
to any number in the list parameter numlist or False otherwise. Assume that
both parameters are lists.
def checkEqual (numlist, check)
For example:
numlist =[1,9,6,3,4,6,2,4]
print(checkEqual(numlist,[0,0,0])) # False
print(checkEqual(numlist,[9,0,0])) # True

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!