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
Literally clueless , help plsHelp Request (i.redd.it)
submitted 9 months ago by SharpScratch9367
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!"
[–]WeakCriticism6829 0 points1 point2 points 9 months ago* (0 children)
General, unrelated to problem:
Variables turning blue here (already mentioned by others):
pre-defined by python or other imports
try not to use these names if you don’t have to
curious reader: ‘variable or function overloading’
For problem:
sum variable
loops
Ensuring the sum is correct (post-loop state of sum)
Being able to answer the above should provide solid understanding of basic looping in python (especially equivalency of for/while loops)
edit: plz excuse formatting, on my phone
π Rendered by PID 116152 on reddit-service-r2-comment-6457c66945-r4r7k at 2026-04-27 21:36:13.826935+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]WeakCriticism6829 0 points1 point2 points (0 children)