fork(1) download
  1. def foo(i):
  2. def bar():
  3. print i
  4. i = 42
  5. bar()
  6.  
  7. foo(10) # Outputs "42", not "10"
Success #stdin #stdout 0.02s 9016KB
stdin
Standard input is empty
stdout
42