Examveda

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]

C. Error

D. No output

Answer: Option B


This Question Belongs to Python Program >> Functions In Python

Join The Discussion

Related Questions on Functions in Python