On Fri, Jul 1, 2022, at 7:58 AM, Voinea Robert wrote:
I'm not sure if this is a bug, but I believe where it says makes 11 recursive calls the other 10 are cached it should either be that both say 10 or both say 11.
No, the numbers are correct. Remember the function is called for '0' as well. It might be useful to insert a `print(n)` in the function before the return and run the example yourself :)
See attached screenshot.
Thanks Robert _______________________________________________ docs mailing list -- firstname.lastname@example.org To unsubscribe send an email to email@example.com https://mail.python.org/mailman3/lists/docs.python.org/ Member address: firstname.lastname@example.org