Vidyalelo
Python · Q34

Functions in Python

Programming · Python · question 34

Q34

What will be the output of the following Python code? list(map((lambda x:x**2), filter((lambda x:x%2==0), range(10))))

A.
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
B.
[0, 4, 16, 36, 64]
Answer
C.
Error
D.
No output

Answer: Option B

Solution

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