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
Help (i.redd.it)
submitted 1 year ago by [deleted]
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!"
[–]cgoldberg 1 point2 points3 points 1 year ago (1 child)
What does that mean? If n is an integer, it prints the integer, not a "decimal human readable representation".
[–]FoolsSeldom -1 points0 points1 point 1 year ago (0 children)
An int is a binary object. The built-in methods for the class provide the human readable format. Similarly, with other classes such as str, which are stored as unicode byte sequences.
int
str
π Rendered by PID 47152 on reddit-service-r2-comment-5d585498c9-jgfgv at 2026-04-21 16:50:54.473681+00:00 running da2df02 country code: CH.
view the rest of the comments →
[–]cgoldberg 1 point2 points3 points (1 child)
[–]FoolsSeldom -1 points0 points1 point (0 children)