12 Bad Aim - My code works but I don't believe it is correct


the reason is that when I enter numbers outside the 5 row grid it gives an error instead of executing the 'else'.


Inside you first else statement you do not need the

print "You missed my battleship!"
board[guess_row][guess_col] = "X"

Instead, you just put that bit of code in the second else statement.