0
Steps for output
a=(lambda x: x**3)((lambda x:x+2)(1)) print(a)
1 Answer
+ 2
We start evaluating the inner lambda, working our way outward.
(lambda x:x+2)(1)
== 1+2 == 3.
(lambda x:x**3)((lambda x:x+2)(1))
== (lambda x:x**3)(3)
== 3**3 == 27.
a=(lambda x: x**3)((lambda x:x+2)(1)) print(a)