Question 8
Consider the following flask app.
from flask import Flask, abort, redirect, url_for, render_templateapp = Flask(__name__)
@app.route('/home/<path:directory>')def find_course(directory): if "ML" in directory: return f"Welcome to online course on Data Science!" else: abort(404)
@app.errorhandler(404)def page_not_found(error): return "<h2>Sorry, No course found!<!h2>"
app.run()If the application is running locally on http://127.0.0.1:5000, select the correct options.