?
What will be the output of the following Python code?
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)))
elements = [0, 1, 2]
def incr(x):
return x+1
print(list(map(elements, incr)))
Join the Discussion
Login to post a comment or share your explanation.
Login