input: 
  def tic_tac_toe_result(board: List[List[str]]) -> str:
      """Given a 3x3 tic-tac-toe board as a list of lists, determine the result.
      The board can have 'X', 'O', and '_' (for empty positions). The function 
      should return 'X' if X wins, 'O' if O wins, 'Draw' if the game is a draw, 
      or 'Incomplete' if the game is still in progress.
      >>> tic_tac_toe_result([['X', 'O', 'X'], ['O', 'X', 'O'], ['O', 'X', 'X']])
      'X'
      >>> tic_tac_toe_result([['X', 'O', 'O'], ['O', 'X', 'X'], ['O', 'X', 'O']])
      'O'
      """
  
output:     
      for row in board:
          if row[0] == row[1] == row[2] and row[0] != '_':
              return row[0]
  
      for col in range(3):
          if board[0][col] == board[1][col] == board[2][col] and board[0][col] != '_':
              return board[0][col]
  
      if board[0][0] == board[1][1] == board[2][2] and board[0][0] != '_':
          return board[0][0]
  
      if board[0][2] == board[1][1] == board[2][0] and board[0][2] != '_':
          return board[0][2]
  
      for row in board:
          if '_' in row:
              return 'Incomplete'
  
      return 'Draw'
  