N
notnorwegian
when using recursion should one use a return statement or not?
there is a difference obv since with a return statement it will
ultimately return a value if not recursing forever.
but is there a guideline for this or it just taste or is it
considering good style or pythonic to always have a returnvalue?
there is a difference obv since with a return statement it will
ultimately return a value if not recursing forever.
but is there a guideline for this or it just taste or is it
considering good style or pythonic to always have a returnvalue?