Return an HTML page

Report a typo

You have two addresses: /help and /info, and two HTML files for them: help.html and info.html.

Write a program that outputs help.html when you visit /help, and info.html when you visit /info.

Write a program in Python 3
from flask import Flask, render_template

app = Flask('main')
app.app_context()

@app.route()
# your code here

@app.route()
# your code here
___

Create a free account to access the full topic