My code seems to work but I keep getting the error message "Oops try again .Make sure you print "Oop,that's not even in the ocean.".If the user guesses a row or column that is off the board"
I checked the other answers in the forum and they provide similar or same answers but I can't get my code to work.PLEASE HELP!!
if guess_row == ship_row and guess_col == ship_col:
print "Congratulations! You sank my battleship!"
if guess_row not in range(4) or guess_col not in range(4):
print "Oops,that's not even in the ocean."
print "You missed my battleship!"
Replace this line with your code.