Python Saved Program: placid-mountain
Here's the online compiler accompanied with IDE at your service. This is a saved code by one of our users. Try it out or save your own from the IDE page and don't forget to leave a feedback. You can find that at the bottom of the page.
total = 0 def calc(________): if (arg3 == "+") : total = arg1 + arg2; if (arg3 == "*") : total = arg1 * arg2; return total; print "10 + 20 = ", calc( 10, 20, "+" );