I believe you just need to delete
board[guess_row][guess-col] = 'X' from line 33. On line 33 you haven't yet checked if the users guess is in
board, but on line 38 the same code is OK because it's inside of the if/else that checks to make sure the guess is valid.
need to check these code carefully