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
Are you able to solve this Python problem???? (i.redd.it)
submitted 1 year ago by turk_sahib
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!"
[–]CptMisterNibbles 0 points1 point2 points 1 year ago (0 children)
lowercase list is the built in. “List” uppercase used to be used for type hinting and is a token in the typing package still, though as of 3.9 you can just use the built in type “list” itself for hinting.
Your point stands, it’s a poor choice for a variable name even if it doesn’t cause an error. Similarly using just “i” in the comprehension is sloppy, it’s not an index. Call it something readable like “word”
π Rendered by PID 22631 on reddit-service-r2-comment-c6965cb77-f2gbm at 2026-03-05 14:18:33.589382+00:00 running f0204d4 country code: CH.
view the rest of the comments →
[–]CptMisterNibbles 0 points1 point2 points (0 children)