Re: [Tutor] recursion

2017-05-22 Thread Peter Otten
Michael C wrote: > oh ya, my function does in fact take no input and doesn't change anything, > and all i wanted to was to call itself a 2nd time, yes, so I solved it a > few hours back ,and it's good enough for me for now :) Would you mind showing the code? I'd like to see how you avoid

Re: [Tutor] recursion

2017-05-22 Thread Michael C
hi all: oh ya, my function does in fact take no input and doesn't change anything, and all i wanted to was to call itself a 2nd time, yes, so I solved it a few hours back ,and it's good enough for me for now :) Thanks for the response!!! On Mon, May 22, 2017 at 2:16 PM, Alan Gauld via Tutor

Re: [Tutor] recursion

2017-05-22 Thread Alan Gauld via Tutor
On 22/05/17 17:11, Michael C wrote: > 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. Sorry, but that

[Tutor] recursion

2017-05-22 Thread Michael C
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