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)
b=[2,3,4,5]
a=list(filter(lambda x:x%2,b))
print(a)
A. [2,4]
B. [ ]
C. [3,5]
D. Invalid arguments for filter function
Answer: Option C
Join The Discussion