def sum(): print("sum = ",2+2) sum()
Standard input is empty
sum = 4
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!