def f(): global x = 1f()
Standard input is empty
Standard output is empty
File "prog.py", line 2 global x = 1 ^ SyntaxError: invalid syntax
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!