17/19 A real Win


I am returning the error “Break not in loop” which seems off given that it appears to me in the loop

if guess_row == ship_row and guess_col == ship_col:
____print “Congratulations! You sunk my battleship!”
____if (guess_row < 0 or guess_row > 4) or (guess_col < 0 or guess_col > 4):
____print “Oops, that’s not even in the ocean.”
elif(board[guess_row][guess_col] == “X”):
____print “You guessed that one already.”
____print “You missed my battleship!”
____board[guess_row][guess_col] = “X”

<do not remove the three backticks above>


I do not see you using a
like a while