def foo(bar): print("inside foo") bar() @foodef bar(): print("inside boo")
Standard input is empty
inside foo inside boo
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!