Vidyalelo
Python · Q58

Functions in Python

Programming · Python · question 58

Q58

What will be the output of the following Python code? elements = [0, 1, 2] def incr(x): return x+1 print(list(map(elements, incr)))

A.
[1, 2, 3]
B.
[0, 1, 2]
C.
error
Answer
D.
none of the mentioned

Answer: Option C

Solution

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