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


#1

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


#2

Inside you first else statement you do not need the

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

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