Function returns old value

Terry Reedy tjreedy at udel.edu
Fri Dec 11 20:59:07 EST 2020


On 12/11/2020 8:25 PM, Bischoop wrote:

> 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/??????

Don't post links to unknown sites.  Reduce it to the minimum needed to 
exhibit the questionable behavior and include inline with the question.

> How this functions should look properly?


-- 
Terry Jan Reedy



More information about the Python-list mailing list