Function returns old value

Paul Bryan pbryan at anode.ca
Fri Dec 11 21:09:35 EST 2020


Sorry, actually, if you do not answer yes, will always return None, not
the first answer as I suggested.

On Fri, 2020-12-11 at 18:55 -0700, Joe Pfeiffer wrote:
> Bischoop <Bischoop at vimart.net> writes:
> 
> > I've function asking question and comparing it, if is not matching
> > 'yes'
> > it does call itself to ask question again. The problem is that when
> > function is called second time it returns old value or with
> > additional
> > else statement it returns none.
> > 
> > Code: https://bpa.st/KVGA
> 
> It calls itself again, but what does it return in that case?



More information about the Python-list mailing list