+ 2
What is it print((lambda x: x**2 + 5*x + 4) (-4))
Help, what is it/Помогите, что это?
4 Réponses
+ 10
Replace x by -4 so you have:
(-4)^2 + 5*(-4) + 4 = 16 - 20 + 4 = 0
0
0
0
print((lambda x: x+5)(a))
will give you as an answer a+5 (you have to define a for that to work)
print((lambda x,y: x+y)(a,b))
Will give you a+b as an answer, etc...
0
0