17/19 A real Win


#1

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!"
____break
else:
___if (guessrow < 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."
else:
____print "You missed my battleship!"
___board[guessrow][guess_col] = "X"

`


#2

@zils.ben,
I do not see you using a

loop

like a while

http://stackoverflow.com/questions/2069662/how-to-exit-an-if-clause