x = "awesome" def myfunc(): global x x = "fantastic" myfunc() print("Python is " + x)
Standard input is empty
Python is fantastic
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!