LogiQuest
Back to Lambda and Functional Tools
11

What is the output of the following code?

print(list(map(lambda x: x + 1, [1, 2, 3])))
Easy

Discussion (0)

  • No discussion yet. Ask a doubt or share a shortcut.

Log in to join the discussion.