This is my code:
if guess_row == ship_row:
if guess_col == ship_col:
print "Congratulations! You sank 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."
print "You missed my battleship!"
board[guess_row][guess_col] = "X"
X == X (??? I'm pretty sure this is wrong but I have no better ideas)
print "You guessed that one already"
File "python", line 38
SyntaxError: invalid syntax
I have moved it back and forth and I have no idea where it's supposed to go .-. sorry and thanks!