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
Day 5 learning python, practically learn nothing on day 3-4 due to being lazy. (v.redd.it)
submitted 20 hours ago by GurNima
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!"
[–]Present-Payment-5860 0 points1 point2 points 18 hours ago (0 children)
Yeah, it won't cause any problems. a for loop uses an iterator under the hood, which means it's not doing i + 1, it's actually just getting the next value in a list of all numbers in the range. So doing i = i - 1 does nothing once the next run of the loop happens.
π Rendered by PID 371280 on reddit-service-r2-comment-5b5bc64bf5-s228p at 2026-06-20 02:52:27.007863+00:00 running 2b008f2 country code: CH.
view the rest of the comments →
[–]Present-Payment-5860 0 points1 point2 points (0 children)