Opening the paper…
Modern Application Development I, Quiz 1
Which of the following is the correct syntax to display the total number of courses in a Jinja2 template?
Which of the following is the correct syntax to display the total number of courses in a Jinja2 template? Consider the following code: app.py from flask import Flask app = Flask(__name__) @app.route("/") def port(): return "This is the port question." if __name__ == "__main__": app.run(port=5008) You are running a Flask web application locally using the command: `python app.py`. On which URL will the application be accessible on the browser? Figure from the original question paper