[Tutor] recursion

Michael C mysecretrobotfactory at gmail.com
Mon May 22 12:11:56 EDT 2017

hi all:

I have a function to return (x,y) value, but sometimes it would naturally
unable to return those 2 values properly. I know what recursion is, and I
think all I got to do is to call this function a 2nd time and the problem
would go away.

How do I do recursion? The function basically look like this

def return_xy():
    blah blah blah
    return x,y

More information about the Tutor mailing list