Question 1
Consider the following code.
from flask import Flaskapp = Flask(__name__)
@app.route('/home')def home1(): return "This is homepage 1"
@app.route('/home/')def home2(): return "This is homepage 2"
@app.errorhandler(404)def page_not_found(e): return 'page not found'
app.run(debug=True)If the flask application is running on http://127.0.0.1:5000, what will browser render for URL http://127.0.0.1:5000/home/
Page not found
This is homepage 1
This is homepage 2
Code will throw error
