<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>{{titulo}}</title>
</head>
<body>
<h1>{{titulo}}</h1>
<p>{{info}}</p>
{ % for conteudos in conteudo % }
<span>{{conteudos}}</span>
{ % endfor % }
</body>
</html>
from markupsafe import escape
from flask import Flask, render_template
app = Flask(__name__)
@app.route('/')
def hello_world():
return 'Hello, World!'
@app.route('/about')
def about():
descricao = "Descricao geral sobre mim!"
conteudo = ["Python","Html","CSS","WebApps"]
return render_template('about.html', titulo="About", info=descricao, conteudos=conteudo)
app.run()
insira seu código aqui