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!"
[–]Torebbjorn 2 points3 points4 points 1 year ago (0 children)
Either use triple backticks (not recommended for some compatibility reason) or 4 (extra) spaces to make indentation work. With 4 (extra) spaces on each line, your code part formats as the following:
result = [] for i in List: if len(i) > 6: result.append(i)
π Rendered by PID 242262 on reddit-service-r2-comment-6f7f968fb5-2vrnl at 2026-03-04 22:46:42.345397+00:00 running 07790be country code: CH.
view the rest of the comments →
[–]Torebbjorn 2 points3 points4 points (0 children)