The task is to add a break under the win condition, here is what I did:
if guess_row == ship_row and guess_col == ship_col: print "Congratulations! You sunk my battleship!" break
but it says:
SyntaxError: 'break' outside loop
I tried to move 4 spaces back and 4 spaces forward but nothing worked. What do I do?