?
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]
def f1(x):
return x<-1
m1=map(f1, l)
print(list(m1))
l=[1, -2, -3, 4, 5]
def f1(x):
return x<-1
m1=map(f1, l)
print(list(m1))
Join the Discussion
Login to post a comment or share your explanation.
Login