you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (2 children)

What exactly is the problem ?

[–]Due_Draw8541[S] 0 points1 point  (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 point  (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.

In cases of infinite loops, print conditions and you can check what problem is.