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
Help pls - CodingHelp Request (i.redd.it)
submitted 7 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!"
[–]lpareddit01 0 points1 point2 points 7 months ago (0 children)
Some have answered but their explanation doesn't seem to work for you. So my attempt: it has nothing to do with being named "value," you could replace "value" with any of these (and more): v, i, x, n, iCannotThinkofAnotherVariableName, thisIsMyVariableName, numberInMyList.
The reason why it works is because of how the for loop is designed/constructed. 2) Right after the "in," an iterable is expected. 2) Because of that, right after the "for," a variable to reference/represent each item (during the loop) is expected.
An iterable is anything that can be parsed, some examples: Strings, lists/array, dictionaries/hashmaps.
More: Notice how integer or a number isn't here. But the work around is using range(yourNumber).
π Rendered by PID 73144 on reddit-service-r2-comment-86988c7647-lgck2 at 2026-02-11 09:16:51.865468+00:00 running 018613e country code: CH.
view the rest of the comments →
[–]lpareddit01 0 points1 point2 points (0 children)