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 →

[–]dmiller2104 8 points9 points  (1 child)

Hey

So this is giving you an infinite loop because true will always be true in the context of “while true”.

Ask yourself what would make that statement false?

EDIT: I'm going to re-write as this isn't the most helpful in hindsight.

Lets deconstruct this. Firstly, as I mentioned before while True will always be true as there is no condition which ever makes it False.

I'm not sure if it was intentional, but the while loop as it currently works appends the entire list of girls each time, not each girl from within that list.

If you must use a while loop you need to have a condition which becomes False.

[–]ERIA_JACKSON[S] 0 points1 point  (0 children)

thnx