Review Questions (continued)
@app.get('/hello/<name>')
def greet(name):
return render_template('hello.html', name=name)
<h1>Hello, {{ name }}!</h1>
- What does
render_template do?
- What does
{{ name }} become when you visit /hello/Zhi?
- Where must the
hello.html file be located?