Skip to content
Advertisement

Tag: function

function is not defined error in Python

I am trying to define a basic function in python but I always get the following error when I run a simple test program; Here is the code I am using for this function; UPDATE: I have the script called pyth.py open, and then I am typing in pyth_test(1,2) in the interpreter when it gives the error. Thanks for the

Advertisement