Vidyalelo
Python · Q107

Python Lists MCQs: Exam Practice for List Concepts

Programming · Python · question 107

Q107

What will be the output of the following Python code? b=[2,3,4,5] a=list(filter(lambda x:x%2,b)) print(a)

A.
[2,4]
B.
[ ]
C.
[3,5]
Answer
D.
Invalid arguments for filter function

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board