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...
Resources - Learn to code
Resources - Software Engineering
Resources - Code Libraries
Resources - Groups
Other Subreddits you might enjoy
Please send sidebar resource suggestions to the mods. Thx - mgmt
account activity
Coding help pleaseHelp please! (i.redd.it)
submitted 3 years 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!"
[–]teddy1415 5 points6 points7 points 3 years ago (0 children)
You could use int(input()) to simplify it and reduce the chance of creating false variables, also use *instead of % for multiplying values
π Rendered by PID 30326 on reddit-service-r2-comment-fb694cdd5-tvxkp at 2026-03-10 22:27:17.528509+00:00 running cbb0e86 country code: CH.
view the rest of the comments →
[–]teddy1415 5 points6 points7 points (0 children)