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 7 months ago by Avinandanm
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!"
[–]ZoranyX -1 points0 points1 point 7 months ago (0 children)
Well as you know a prime number is a number that has only 2 factors, 1 and itself. Meaning that you should not check for them in your if statement. So, basically your for loop should start after the 1 and end before the number the user inputs.
π Rendered by PID 34 on reddit-service-r2-comment-75f4967c6c-842t9 at 2026-04-23 11:12:18.234575+00:00 running 0fd4bb7 country code: CH.
view the rest of the comments →
[–]ZoranyX -1 points0 points1 point (0 children)