Question: 1 . What is the output for this code if it won t raise an error when execute? L 1 = [ 2 ,

"1. What is the output for this code if it wont raise an error when execute? L1=[2,4,6,8]
L2=[3,5,7,9,11,13]
L3=[10,20,30]
sum = list( map( lambda XP18 n1, n2, n3 : n1+n2+n3,
2. What is the output for the following code:
func = lambda n1, n2 : n1 if (n1> n2) else n2
reduce( func, [2,30,25,109,77])
L1, L2, L3)) print(sum)"

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!