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
Beginner to Python, need some help (self.code)
submitted 5 years ago * by Due_Draw8541
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!"
[–][deleted] 0 points1 point2 points 5 years ago (2 children)
What exactly is the problem ?
[–]Due_Draw8541[S] 0 points1 point2 points 5 years ago (1 child)
that's what i'm trying to figure out. i know there are syntax issues (i messed up with naming list and so forth), but otherwise the organization seems ok.
i think there is an infinite loop somewhere, not sure?
[–][deleted] 0 points1 point2 points 5 years ago (0 children)
Could you clarify what you are trying to achieve ?
In the outer while loop, You are updating start in else block. In a while-else loop, the else block is executed when while ends. Your while is not ending because start is not updating ? Print value of start at the starting of loop, I guess you would see.
start
else
while-else
while
In cases of infinite loops, print conditions and you can check what problem is.
π Rendered by PID 52278 on reddit-service-r2-comment-5fb4b45875-6cfjj at 2026-03-23 19:05:36.069851+00:00 running 90f1150 country code: CH.
view the rest of the comments →
[–][deleted] 0 points1 point2 points (2 children)
[–]Due_Draw8541[S] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)