old_contents: from flask import Flask
  from flask import request
  from tictactoe import *
  
  app = Flask(__name__)
  
  game = TicTacToe()
  
  @app.route("/")
  def hello():
      return str(game.someone_won)
  
  @app.route("/key", methods=['POST'])
  def key():
      return game.getKey(request.get_json(silent=True)[k])
  
  if __name__ == "__main__":
      app.run()
  
new_contents: from flask import Flask
  from flask import request
  from tictactoe import *
  
  app = Flask(__name__)
  
  game = TicTacToe()
  
  @app.route("/")
  def hello():
      return str(game.someone_won)
  
  @app.route("/key", methods=['POST'])
  def key():
      return game.getKey(request.get_json(silent=True)['k'])
  
  if __name__ == "__main__":
      app.run()
  
subject: Fix typo