input: def develop_tic_tac_toe():
      """Develops a Tic Tac Toe game in Python that allows two players to take turns, 
      prints the board after each move, checks for a victory condition, and announces 
      the winner or if the game is a tie.
      >>> develop_tic_tac_toe()
      Welcome to Tic Tac Toe!
      |   |   |   |
      |   |   |   |
      |   |   |   |
      Your turn player 1
      Enter your move (1-9): 5
      |   |   |   |
      |   | X |   |
      |   |   |   |
      Your turn player 2
      Enter your move (1-9): 1
      | O |   |   |
      |   | X |   |
      |   |   |   |
      ...
      """
output:     board = [' ' for _ in range(9)]
      players = ['X', 'O']
      current_player = 0
  
      def print_board():
          print(f"| {board[0]} | {board[1]} | {board[2]} |")
          print(f"| {board[3]} | {board[4]} | {board[5]} |")
          print(f"| {board[6]} | {board[7]} | {board[8]} |")
  
      def check_winner():
          win_conditions = [(0, 1, 2), (3, 4, 5), (6, 7, 8), (0, 3, 6), (1, 4, 7), (2, 5, 8), (0, 4, 8), (2, 4, 6)]
          for condition in win_conditions:
              if board[condition[0]] == board[condition[1]] == board[condition[2]] != ' ':
                  return board[condition[0]]
          return None
  
      print("Welcome to Tic Tac Toe!")
      print_board()
  
      while True:
          move = input(f"Your turn player {current_player + 1}\nEnter your move (1-9): ")
          if not move.isdigit() or int(move) < 1 or int(move) > 9 or board[int(move) - 1] != ' ':
              print("Invalid move. Try again.")
              continue
  
          board[int(move) - 1] = players[current_player]
          print_board()
  
          winner = check_winner()
          if winner:
              print(f"Player {winner} wins!")
              break
  
          if ' ' not in board:
              print("It's a tie!")
              break
  
          current_player = 1 - current_player