Examveda

What will be the output of the following Python code?
list(map((lambda x:x^2), range(10)))

A. [0, 1, 4, 9, 16, 25, 36, 49, 64, 81]

B. Error

C. [2, 3, 0, 1, 6, 7, 4, 5, 10, 11]

D. No output

Answer: Option C


This Question Belongs to Python Program >> Functions In Python

Join The Discussion

Related Questions on Functions in Python