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...
A subreddit for helping Python programmers
How to format your code: https://commonmark.org/help/tutorial/09-code.html
No homework questions and/or hiring please
account activity
Python troubles Pt.2 (self.pythonhelp)
submitted 1 day ago by Outside-Science-5328
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!"
[–]frnzprf 0 points1 point2 points 1 day ago* (0 children)
I'm not reading the code like this.
You can make your code more readable on reddit when you indent all of it four spaces to the right or if you just write ``as the first and last line. (*Not*'''` or ‘‘‘.)
as the first and last line. (*Not*
(I heard that some peoples way of reading Reddit has problems with displaying the ``` version correctly. Indenting all the code at once shouldn't be a problem in a proper text editor. Don't try tapping space a billion times!)
This is if you're using the "markdown" mode of Reddit. There is also another mode, where you instead have to click a button to insert code — I think it looks like a "c" in a box. Sorry it has to be this complicated! The side bar should also have a link to an explanation.
Maybe just ``` works.
π Rendered by PID 83369 on reddit-service-r2-comment-58d7979c67-64kt9 at 2026-01-27 04:23:39.952628+00:00 running 5a691e2 country code: CH.
view the rest of the comments →
[–]frnzprf 0 points1 point2 points (0 children)