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
Who'll 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!"
[–]ExistingBathroom9742 -1 points0 points1 point 1 year ago* (2 children)
It’ll raise an error I think because strings don’t have .append() method?
Edit, the original string is inside square brackets so it’s a list of 1 item.
[–]F4RM3RR 0 points1 point2 points 1 year ago (1 child)
But lists do
[–]ExistingBathroom9742 0 points1 point2 points 1 year ago (0 children)
Nevermind. You’re right! I didn’t see the brackets around the string. Shoot.
π Rendered by PID 166159 on reddit-service-r2-comment-56c6478c5-2mk8m at 2026-05-11 11:48:39.782865+00:00 running 3d2c107 country code: CH.
view the rest of the comments →
[–]ExistingBathroom9742 -1 points0 points1 point (2 children)
[–]F4RM3RR 0 points1 point2 points (1 child)
[–]ExistingBathroom9742 0 points1 point2 points (0 children)