input: 
  def is_winner(board: List[str], player: str) -> bool:
      """Determine if the specified player has won the game on the given Tic Tac Toe board.
      >>> is_winner(["X", "X", "X", " ", "O", " ", "O", " ", " "], "X")
      True
      >>> is_winner(["O", "X", " ", "O", "X", " ", "O", "X", " "], "O")
      True
      >>> is_winner(["X", "O", "X", "X", "O", " ", "O", "X", "O"], "X")
      False
      """
      win_combinations = [
          [0, 1, 2], [3, 4, 5], [6, 7, 8],  # rows
          [0, 3, 6], [1, 4, 7], [2, 5, 8],  # columns
          [0, 4, 8], [2, 4, 6]              # diagonals
      ]
      for combo in win_combinations:
          if all(board[i] == player for i in combo):
              return True
      return False
  
output:     win_combinations = [
          [0, 1, 2], [3, 4, 5], [6, 7, 8],  # rows
          [0, 3, 6], [1, 4, 7], [2, 5, 8],  # columns
          [0, 4, 8], [2, 4, 6]              # diagonals
      ]
      for combo in win_combinations:
          if all(board[i] == player for i in combo):
              return True
      return False