input: 
  class TicTacToe:
      """Create a TicTacToe game in Python.
      >>> game = TicTacToe()
      >>> game.board
      [['_', '_', '_'], ['_', '_', '_'], ['_', '_', '_']]
      >>> game.turn
      'x'
      >>> game.check_win()
      False
      """
  
output:     
      def __init__(self):
          self.board = [['_' for _ in range(3)] for _ in range(3)]
          self.turn = 'x'
  
      def check_win(self):
          for row in self.board:
              if row[0] == row[1] == row[2] and row[0] != '_':
                  return True
          for col in range(3):
              if self.board[0][col] == self.board[1][col] == self.board[2][col] and self.board[0][col] != '_':
                  return True
          if self.board[0][0] == self.board[1][1] == self.board[2][2] and self.board[0][0] != '_':
              return True
          if self.board[0][2] == self.board[1][1] == self.board[2][0] and self.board[0][2] != '_':
              return True
          return False
  