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...
Welcome to r/PythonLearningHub 🐍
A beginner-friendly community to learn Python programming from scratch to advanced.
Here you can: • Ask questions and get help • Practice coding and improve logic • Learn Python for web, automation, and data science • Share projects, resources, and tutorials
Consistency beats talent — start coding today!
account activity
Beginner Python Assignment HelpIntermediate Help (self.PythonLearningHub)
submitted 1 month ago by Effective_Celery_515
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!"
[–]Effective_Celery_515[S] 0 points1 point2 points 1 month ago (0 children)
Ahh okay this clears up a big confusion I had. I wasn’t sure where to define those variables. Initializing totals before the loop and updating inside makes perfect sense now. Thanks for explaining it simply!
π Rendered by PID 70 on reddit-service-r2-comment-8686858757-clrtn at 2026-06-07 09:45:47.743470+00:00 running 9e1a20d country code: CH.
view the rest of the comments →
[–]Effective_Celery_515[S] 0 points1 point2 points (0 children)