[Tutor] recursion

Alan Gauld alan.gauld at yahoo.co.uk
Tue May 23 04:27:45 EDT 2017


On 23/05/17 06:18, Peter Otten wrote:
> 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 infinite 
> recursion.

I suspect he is not using recursion, just calling his function twice.

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos




More information about the Tutor mailing list