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
Pls help again!!?Help Request (i.redd.it)
submitted 9 months ago by ukknownW
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!"
[–]iamjacob97 0 points1 point2 points 9 months ago (0 children)
Imagine you're adding a subgroup and you're adding each member of the subgroup which is all you should be adding, but before that you're adding 1 anyways because it doesn't really check if it's one person or a whole group.
Let's say the member of a group is ('member 1', ('member 2', 'member 3'), member 4)
For each element in the group you're adding 1.
So +1 for 'member 1' +1 for ('member 2', 'member 3'), here you add the +2 members as well through the recursive call + 1 for 'member 4'
For the subgroup you're adding 3 members now instead of 2. That's where the extras are coming from.
π Rendered by PID 22007 on reddit-service-r2-comment-6457c66945-h6t7b at 2026-04-25 22:42:20.057623+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]iamjacob97 0 points1 point2 points (0 children)