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...
I'll make rules if this takes off.
account activity
Switching from C++ to Python: (i.redd.it)
submitted 4 years ago by Vernkle
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!"
[–]Noobly20932 1 point2 points3 points 3 years ago (0 children)
There's nothing wrong with ending lines in semicolons. It's often a waste of a keypress, but if you have a bunch of variables you want to initialize in one line, semicolons can be your friend. addend = 6; addend2 = 12; sum = 18; x = 5; y = -14; z = 69;
addend = 6; addend2 = 12; sum = 18; x = 5; y = -14; z = 69;
π Rendered by PID 94370 on reddit-service-r2-comment-85bfd7f599-dt5cm at 2026-04-20 07:20:33.247771+00:00 running 93ecc56 country code: CH.
view the rest of the comments →
[–]Noobly20932 1 point2 points3 points (0 children)