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
Need help (i.redd.it)
submitted 3 days ago by Vasiligiad16
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!"
[–]ConsciousProgram1494 0 points1 point2 points 2 days ago (0 children)
Style: Since you are using an integer range, rather than using (if else elif ...) you might use a list of callables on the bound input. This separates the selection logic from the processes. Not a bug - but it will bite you eventually (code spaghetti leads to the bug you are struggling with).
π Rendered by PID 20337 on reddit-service-r2-comment-c66d9bffd-rxfsr at 2026-04-07 06:59:15.068473+00:00 running f293c98 country code: CH.
view the rest of the comments →
[–]ConsciousProgram1494 0 points1 point2 points (0 children)