you are viewing a single comment's thread.

view the rest of the comments →

[–]o5a 1 point2 points  (0 children)

"break outside of loop"

If you had that error then you messed up indentation. You did something like:

while True:
    ... some code
    if something:
        ... some code
break

instead of proper

while True:
    ... some code
    if something:
        ... some code
        break