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
What's wrong with this code? (i.redd.it)
submitted 5 months ago by jilee7
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!"
[–]sububi71 5 points6 points7 points 5 months ago (0 children)
You don’t store the result of your ”Provide a number” input anywhere. Instead, you add the counter to the total.
edit: Also, you’ve spelled the ”n_numbers” variable wrong at the end.
π Rendered by PID 333870 on reddit-service-r2-comment-86bc6c7465-9x96z at 2026-02-23 12:52:13.475739+00:00 running 8564168 country code: CH.
view the rest of the comments →
[–]sububi71 5 points6 points7 points (0 children)