Battle ship!-bad aim


if guess_row == ship_row and guess_col == ship_col:
    print "Congratulations! You sank my battleship!"
        print "You missed my battleship!"
        board[guess_row][guess_col] = "X"
if board[guess_row] not in range(5) or  board[guess_col] not \ in range(5)
    print "Oops,that's not even in the ocean."
    print "excellent shot"

error: Oops, try again. Your code looks a bit off. Check the Hint if you need help! Your code threw the following error: unexpected character after line continuation character (python, line 36)
link of exrcise:


who sees this can know that i solved the problem it was a little thing missed


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.