fork download
  1. def x(a):
  2. def y():
  3. print(a)
  4. return y
  5.  
  6. x1 = x(1)
  7. x2 = x(2)
  8. x1()
  9. x2()
  10.  
Success #stdin #stdout 0.05s 9568KB
stdin
Standard input is empty
stdout
1
2