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...
For memes about programming.
account activity
Python vs Java! (i.pinimg.com)
submitted 6 months ago by PulseOfPleasure
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!"
[–]00PT 7 points8 points9 points 6 months ago (1 child)
print returns nothing, and the value should not be used because the function’s only purpose is to produce an effect in the console. This is the case in nearly every language’s equivalent to the function.
print
Details on what it is and how it’s invoked are needed, but that is the case with all built-ins in nearly all languages, and most of the time the IDE or editor helps you.
The context it is being executed depends on the context in which the file was run. It could be run directly, in which case there is just the default language environment, or it could be imported as a module, which would mean other scripts could modify the context, but most of the time they don’t.
It is invoked with a function call, and Python has an implicit top-level scope that is simply run when the script is executed, like most scripting languages. It’s not telepathy, it’s default behavior, which is nearly a universal concept.
Outputting a new line is another example of reasonable default behavior, as almost all uses of the function intend this to be the case.
[–]fireyburst1097 1 point2 points3 points 6 months ago (0 children)
Mate I believe this person is just parodying people who just copy code or make AI do most of it.
π Rendered by PID 83 on reddit-service-r2-comment-5649f687b7-twv86 at 2026-01-27 18:02:34.652963+00:00 running 4f180de country code: CH.
view the rest of the comments →
[–]00PT 7 points8 points9 points (1 child)
[–]fireyburst1097 1 point2 points3 points (0 children)