def func action lambda return action func print

1
2
3
4
5
6
def func():
x = 4
action = (lambda n: x ** n)
return action
z = func()
print z(2)