fork download
  1. def f():
  2. global x = 1
  3. f()
Runtime error #stdin #stdout #stderr 0.01s 7724KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
  File "prog.py", line 2
    global x = 1
             ^
SyntaxError: invalid syntax