fork download
  1. def foo():
  2. x = 123
  3. return lambda y: x+y
  4.  
  5. q = foo()
  6.  
  7. print q(5)
Success #stdin #stdout 0.02s 4676KB
stdin
Standard input is empty
stdout
128