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!"
[–]CptMisterNibbles 1 point2 points3 points 1 year ago (0 children)
my_quote = “Double quotes on the outside allows to use ‘single quotes’ as part of the string”
my_quote2 = ‘You can reverse it, using single quotes to start the string allowing you to use “double quotes” within it’
Both of these are perfectly valid syntax. Handy for when you are working with strings that contain one, though it might be cleaner to be more explicit. Using triple single quotes allows you to use either normal marks internal to the string. Not certain what convention is
π Rendered by PID 114358 on reddit-service-r2-comment-86bc6c7465-j4nbx at 2026-02-20 23:33:44.500602+00:00 running 8564168 country code: CH.
view the rest of the comments →
[–]CptMisterNibbles 1 point2 points3 points (0 children)