input: 
  def main():
      """
      Develop a Tic Tac Toe game in Python. The game should allow two players to take turns, 
      display the board after each move, check for victory conditions, and declare a winner 
      or a tie if no winner is found.
      
      Example:
      # Prints an initial empty board and enters the game loop
      >>> main()
      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 |   |
      
      |   |   |   |
      
      Continue game until victory or tie...
      X Wins! Congratulations!
      """
  
output:     print("Welcome to Tic Tac Toe!")
      board = [' ' for _ in range(9)]
      players = ['X', 'O']
      current_player = 0
  
      def print_board():
          print(f"| {board[0]} | {board[1]} | {board[2]} |")
          print()
          print(f"| {board[3]} | {board[4]} | {board[5]} |")
          print()
          print(f"| {board[6]} | {board[7]} | {board[8]} |")
          print()
  
      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]]
          if ' ' not in board:
              return 'Tie'
          return None
  
      while True:
          print_board()
          move = input(f"Your turn player {current_player + 1}\nEnter your move (1-9): ")
          if move.isdigit() and 1 <= int(move) <= 9 and board[int(move) - 1] == ' ':
              board[int(move) - 1] = players[current_player]
              winner = check_winner()
              if winner:
                  print_board()
                  if winner == 'Tie':
                      print("It's a tie!")
                  else:
                      print(f"{winner} Wins! Congratulations!")
                  break
              current_player = 1 - current_player
          else:
              print("Invalid move, try again.")