On 12/12/2020 14:25, 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/KVGA

How this functions should look properly?


In the event of "yes" the function returns a value (return ask).
When the function calls itself, what happens to the return-ed value?
--
Regards =dn
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to