Q. What is the output of the following?elements = [0, 1, 2]def incr(x): return x+1print(list(map(incr, elements))) (Solved)
1. [1, 2, 3].
2. [0, 1, 2].
3. error
4. none of the mentioned
- a. [1, 2, 3].
1. [1, 2, 3].
2. [0, 1, 2].
3. error
4. none of the mentioned