input: from typing import List
  
  def create_tic_tac_toe() -> TicTacToe:
      """ Creates and returns a TicTacToe game instance.
      >>> game = create_tic_tac_toe()
      >>> game.board
      [['_', '_', '_'], ['_', '_', '_'], ['_', '_', '_']]
      >>> game.turn
      'x'
      >>> game.display()
      _ _ _
      _ _ _
      _ _ _
      >>> game.check_win()
      False
      """
      return TicTacToe()
output:     class TicTacToe:
          def __init__(self):
              self.board = [['_' for _ in range(3)] for _ in range(3)]
              self.turn = 'x'
  
          def display(self):
              for row in self.board:
                  print(' '.join(row))
  
          def check_win(self):
              for row in self.board:
                  if row[0] == row[1] == row[2] != '_':
                      return True
              for col in range(3):
                  if self.board[0][col] == self.board[1][col] == self.board[2][col] != '_':
                      return True
              if self.board[0][0] == self.board[1][1] == self.board[2][2] != '_':
                  return True
              if self.board[0][2] == self.board[1][1] == self.board[2][0] != '_':
                  return True
              return False