input: Write a function to develop an AI Tic-Tac-Toe game using Python. The function should include methods to print the board, check for a win condition, determine the computer's move, and play the game. If the function is executed, it should start a new game of Tic-Tac-Toe.
  
  def develop_tic_tac_toe():
      import random 
      
      # Rest of the code follows...
  
  assert develop_tic_tac_toe() is None
output: def develop_tic_tac_toe():
      import random
  
      def print_board(board):
          for row in board:
              print(" | ".join(row))
              print("-" * 5)
  
      def check_win(board, player):
          for row in board:
              if all([cell == player for cell in row]):
                  return True
          for col in range(3):
              if all([board[row][col] == player for row in range(3)]):
                  return True
          if all([board[i][i] == player for i in range(3)]) or all([board[i][2-i] == player for i in range(3)]):
              return True
          return False
  
      def computer_move(board):
          available_moves = [(i, j) for i in range(3) for j in range(3) if board[i][j] == " "]
          return random.choice(available_moves)
  
      def play_game():
          board = [[" " for _ in range(3)] for _ in range(3)]
          current_player = "X"
          while True:
              print_board(board)
              if current_player == "X":
                  row, col = map(int, input("Enter row and column (0-2): ").split())
                  if board[row][col] != " ":
                      print("Cell already taken. Try again.")
                      continue
              else:
                  row, col = computer_move(board)
              board[row][col] = current_player
              if check_win(board, current_player):
                  print_board(board)
                  print(f"Player {current_player} wins!")
                  break
              if all([cell != " " for row in board for cell in row]):
                  print_board(board)
                  print("It's a tie!")
                  break
              current_player = "O" if current_player == "X" else "X"
  
      play_game()