fork download
  1. def fun1():
  2. global some_text
  3. some_text = "1234"
  4.  
  5. def fun2():
  6. print(some_text)
  7.  
  8. fun1()
  9. fun2()
Success #stdin #stdout 0.01s 118656KB
stdin
Standard input is empty
stdout
1234