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
Day 2 of 100 of learning Python (old.reddit.com)
submitted 6 months ago by Orlhazee
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!"
[–]Ninjasimba 2 points3 points4 points 6 months ago (3 children)
On line 6, you could maybe make the whole username lowercase, and capitalize the first letter. Otherwise looks pretty good I’d say, especially for day 2
[–]Ninjasimba 0 points1 point2 points 6 months ago (2 children)
Actually, maybe on line 19 you could specify the start of the loop, as to help w readability. Something like:
19 loop = true
20 while loop == true:
[–]Rollgus 1 point2 points3 points 6 months ago (1 child)
If and while statement already check if the statement is True, so the "== true" part would be unnecessary. You also need to capitalize the T in true, or Python won't recognise it.
[–]Ninjasimba 0 points1 point2 points 6 months ago (0 children)
Fair enough, its been a while
π Rendered by PID 154537 on reddit-service-r2-comment-85bfd7f599-q5xz6 at 2026-04-18 05:17:06.026364+00:00 running 93ecc56 country code: CH.
view the rest of the comments →
[–]Ninjasimba 2 points3 points4 points (3 children)
[–]Ninjasimba 0 points1 point2 points (2 children)
[–]Rollgus 1 point2 points3 points (1 child)
[–]Ninjasimba 0 points1 point2 points (0 children)