# your code goes hereclass Vec(x,y): v1=Vec(1,2) v2=Vec(3,4) print v1+v2
Standard input is empty
Standard output is empty
Traceback (most recent call last): File "prog.py", line 2, in <module> NameError: name 'x' is not defined
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!