Mega Code Archive
Categories
/
Python Tutorial
/
Function
Scope and lambda
x = 10 def foo(): y = 5 bar = lambda :x+y print bar() foo()