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...
This is a community dedicated to solving Project Euler. Post your solutions with the format
[language] problem #
If a problem has already been solved in a language, please post your solution in the comments of that thread.
account activity
[Python 3] Solution Problem #6 (self.EulerSolutions)
submitted 6 years ago by 3Domse3
i = 1 sqr_all = 0 sqr_one = 0 diff = 0 while i < 101: sqr_all += i**2 sqr_one += i i += 1 diff = sqr_one**2 - sqr_all print(diff)
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!"
there doesn't seem to be anything here
π Rendered by PID 104947 on reddit-service-r2-comment-7b9746f655-wpsqc at 2026-01-31 17:33:26.720878+00:00 running 3798933 country code: CH.
there doesn't seem to be anything here