if guess_col == ship_col and guess_row == ship_row:
print "Congratulations! You sank my battleship!"
else: print "You missed my battleship!"
I'm getting an 'incorrect syntax' message on the line with the else statement, and have no idea why. Thoughts?
EDIT - the indentation didn't come up. Both the 2nd and 3rd lines are indented. Sorry.
Replace this line with your code.