fork(1) download
  1. def func():
  2. a = 1
  3. exec("a=3")
  4. print(a)
  5.  
  6. func()
Success #stdin #stdout 0.03s 9064KB
stdin
Standard input is empty
stdout
1