fork download
  1. def outer(x):
  2. def inner(x=x):
  3. return 'x={x}'.format_map(locals())
  4. return inner
  5.  
  6. print(outer(10)())
  7.  
  8.  
Success #stdin #stdout 0.02s 9984KB
stdin
Standard input is empty
stdout
x=10