[SOLVED] Battleship! 12/19


#1

Hi all,
my code for this exercise works as it should outside of codecademy.com, but on here it's not accepted. The code is the following:

And the error I get is:

Oops, try again. Make sure you print "Oops, that's not even in the ocean." if the user guesses a row or column that is off the board.

Any help?


#2

In your error message you have a '!' and not a '.' Codecademy is quite literal at checking the output to make sure it matches exactly.


#3

Thank you, it was so silly!
Cheers