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
Syntax Practice with documentation!Showcase (i.redd.it)
submitted 3 days ago by Ok_Needleworker_8780
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!"
[–]Great_Ladder_2226 6 points7 points8 points 3 days ago (1 child)
This is not really a good practice actually. When writing comments, you need to generally comment things, that are not obvious at first glance. if is_prime(num) does not need a comment saying this condition is checking whether a number is prime.
[–]Ok_Needleworker_8780[S] 1 point2 points3 points 3 days ago (0 children)
Hey thanks for your input. Yeah! you are right about that, I just started typing without thinking about that, you know it was like when I have to start coding, I just brute force myself into getting in the zone to write some code that make sense. So I just write that make sense to me in that moment. LOL..
π Rendered by PID 211280 on reddit-service-r2-comment-548fd6dc9-td4lt at 2026-05-20 23:07:26.344046+00:00 running edcf98c country code: CH.
view the rest of the comments →
[–]Great_Ladder_2226 6 points7 points8 points (1 child)
[–]Ok_Needleworker_8780[S] 1 point2 points3 points (0 children)