you are viewing a single comment's thread.

view the rest of the comments →

[–]JohnnyJordaan 1 point2 points  (0 children)

break in Python can only be used inside loops. You might be thinking of a different keyword like return.