[Tutor] Now I have a variable-passing problem!

Sean 'Shaleh' Perry shalehperry@home.com
Sat, 13 Oct 2001 19:46:42 -0700 (PDT)

>> Should I even bother or just re-write the body of the if-test to re-prompt
>> without a recursive call?
>   It's not too much trouble to correctly recursify it, esp if you've already
> built the function.

the problem with recursion is the case where the user (or whatever) just keeps
sending bad input.  Then the recursion just gets deeper and deeper, python will
eventually hiccup or segfault.  Also recursion is more expensive than the loop,
especially if the user/input has many incorrect entries.