Out of the ocean not working


#1
else:
    print "You missed my battleship!"
    if guess_row not in range(5) or \
       guess_col not in range(5):
           print "Oops, that's not even in the ocean."
    else board[guess_row][guess_col]=="X":
        print "You missed my battleship!"

#2

Its actually the

else board[guess_row][guess_col]=="X":

line that doesn't work


#3

Did you try with elif instead of else?