recursive function return value problems

casevh at casevh at
Thu Dec 29 01:07:21 CET 2005

You have two calls to reTest and so reTest needs to return twice. One
return is from the reTest(True) call back to reTest(False). The second
return is from reTest(False) back to the prompt.

What were you expecting to happen?

More information about the Python-list mailing list