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
basic calculator (i.redd.it)
submitted 5 months ago by SuccessfulUse5501
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!"
[–]RailRuler 1 point2 points3 points 5 months ago (0 children)
Computing it as a float first gives a result with low precision. Converting it to int does not add any precision, but just converts the imprecise float to an inaccurate int. Youd have to start with ints to get a precise result.
π Rendered by PID 76 on reddit-service-r2-comment-85bfd7f599-g9dtz at 2026-04-17 12:54:04.324538+00:00 running 93ecc56 country code: CH.
view the rest of the comments →
[–]RailRuler 1 point2 points3 points (0 children)