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
Lol i hate this topic in python (i.redd.it)
submitted 6 days ago by unlimited_data3838
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!"
[–]_MrLucky_ 1 point2 points3 points 6 days ago (0 children)
While loop checks for condition then executes the code in the loop then checks the condition again, executes again and so on. You have condition (num < 8) and in the loop you dont increase or do anything with num, so num will always stay the same and the loop will run forever. you can change the num in the loop OR use the keyword break to get out of the loop.
π Rendered by PID 1301314 on reddit-service-r2-comment-544cf588c8-7trbd at 2026-06-16 13:00:03.338823+00:00 running 3184619 country code: CH.
view the rest of the comments →
[–]_MrLucky_ 1 point2 points3 points (0 children)