from flask import Flask, render_template

app = Flask(__name__)

@app.route('/', methods=['GET'])
def hello():

    with open("data/incorrect_answers.txt", "rw+") as file:
        incorrect_answers = file.readlines()

    return render_template('home.html',something=incorrect_answers[-1])

if __name__ == '__main__':
    app.run(debug=True,host='0.0.0.0',port = 5050,threaded=True)

c2a21bec8b331c0d8b596ddab64061af3bf27a0e
<mask token>

<mask token>


@app.route('/', methods=['GET'])
def hello():
    with open('data/incorrect_answers.txt', 'rw+') as file:
        incorrect_answers = file.readlines()
    return render_template('home.html', something=incorrect_answers[-1])


if __name__ == '__main__':
    app.run(debug=True, host='0.0.0.0', port=5050, threaded=True)

<mask token>
app = Flask(__name__)


@app.route('/', methods=['GET'])
def hello():
    with open('data/incorrect_answers.txt', 'rw+') as file:
        incorrect_answers = file.readlines()
    return render_template('home.html', something=incorrect_answers[-1])


if __name__ == '__main__':
    app.run(debug=True, host='0.0.0.0', port=5050, threaded=True)

from flask import Flask, render_template
app = Flask(__name__)


@app.route('/', methods=['GET'])
def hello():
    with open('data/incorrect_answers.txt', 'rw+') as file:
        incorrect_answers = file.readlines()
    return render_template('home.html', something=incorrect_answers[-1])


if __name__ == '__main__':
    app.run(debug=True, host='0.0.0.0', port=5050, threaded=True)

from flask import Flask, render_template

app = Flask(__name__)

@app.route('/', methods=['GET'])
def hello():

    with open("data/incorrect_answers.txt", "rw+") as file:
        incorrect_answers = file.readlines()

    return render_template('home.html',something=incorrect_answers[-1])

if __name__ == '__main__':
    app.run(debug=True,host='0.0.0.0',port = 5050,threaded=True)
