SyntaxFix
Write A Post
Hire A Developer
Questions
It works for me:
>>> def pyth_test (x1, x2): ... print x1 + x2 ... >>> pyth_test(1,2) 3
Make sure you define the function before you call it.