A
Q. What is the output of the following?
elements = [0, 1, 2]
def incr(x):
return x+1
print(list(map(incr, elements)))
- Correct Answer - Option(A)
- Views: 18
- Filed under category Python
- Hashtags:
Discusssion
Login to discuss.