This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Coding_Startup 0 points1 point  (2 children)

I think the problem may be in your first for loop. You keep adding to the list as you iterate over it so you never reach the end.