input: 
  def create_tic_tac_toe():
      """ Create a Tic Tac Toe game where two players can take turns to input their moves.
      The game checks for a win condition after each move and declares a winner or
      a tie if the moves fill the board without a winner.
      >>> main()
      Welcome to Tic Tac Toe!
      |   |   |   |
      |   |   |   |
      |   |   |   |
      Your turn player 1
      >>> (# After valid move input)
      | X |   |   |
      |   |   |   |
      |   |   |   |
      Your turn player 2
      >>> (# After another valid move input)
      | X |   |   |
      |   | O |   |
      |   |   |   |
      >>> (# After a sequence of moves leading to a win)
      X Wins! Congratulations!
      """
  
output:     
      board = [[' ' for _ in range(3)] for _ in range(3)]
      current_player = 'X'
  
      def print_board():
          for row in board:
              print('| ' + ' | '.join(row) + ' |')
  
      def check_win():
          for row in board:
              if row[0] == row[1] == row[2] != ' ':
                  return True
          for col in range(3):
              if board[0][col] == board[1][col] == board[2][col] != ' ':
                  return True
          if board[0][0] == board[1][1] == board[2][2] != ' ':
              return True
          if board[0][2] == board[1][1] == board[2][0] != ' ':
              return True
          return False
  
      def check_tie():
          return all(cell != ' ' for row in board for cell in row)
  
      print("Welcome to Tic Tac Toe!")
      print_board()
  
      while True:
          move = input(f"Your turn player {current_player}\nEnter your move (row, col): ")
          try:
              row, col = map(int, move.split(','))
              if board[row][col] == ' ':
                  board[row][col] = current_player
                  print_board()
                  if check_win():
                      print(f"{current_player} Wins! Congratulations!")
                      break
                  if check_tie():
                      print("It's a tie!")
                      break
                  current_player = 'O' if current_player == 'X' else 'X'
              else:
                  print("Cell already taken, try again.")
          except (ValueError, IndexError):
              print("Invalid input, try again.")
  