Vidyalelo
Python · Q40

Functions in Python

Programming · Python · question 40

Q40

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]
Answer
D.
No output

Answer: Option C

Solution

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