def a(x=0): if x== 0: b() print ("a") def b(): print ("b") a(x=1) a()
Standard input is empty
b a a
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!