?
What will be the output of the following Python code?
What will be the output of the following Python code?
l=[1, 2, 3, 4, 5]
m=map(lambda x:2**x, l)
print(list(m))
l=[1, 2, 3, 4, 5]
m=map(lambda x:2**x, l)
print(list(m))
Join the Discussion
Login to post a comment or share your explanation.
Login