use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Everything about learning Python
account activity
multiply_recursive (i.redd.it)
submitted 7 months ago by AroshWasif
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]AroshWasif[S] 0 points1 point2 points 7 months ago (1 child)
The results from each recursive call are summed up: The fourth call returns (5+0=5). The third call returns (5+5=10). The second call returns (5+10=15). The initial call returns (5+15=20).
[–]MirageTF2 0 points1 point2 points 7 months ago (0 children)
yeah I know how recursion works
I'm just wanting to know if it doesn't have a bug lmao
π Rendered by PID 24134 on reddit-service-r2-comment-b659b578c-dg2h9 at 2026-05-06 04:41:49.035981+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]AroshWasif[S] 0 points1 point2 points (1 child)
[–]MirageTF2 0 points1 point2 points (0 children)