class calculator: def add(self,a,b): print("add",a+b)A=calculator()A.add(12,14)
Standard input is empty
('add', 26)
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!