loop in html using flask code example
Example: flask for loops
<table class="centered thick-border">
<tr>
<th>First name</th>
<th>Age</th>
</tr>
{% for k, v in dates.items() %}
<tr>
<td>{{ k }}</td>
<td>{{ v }}</td>
</tr>
{% endfor %}
</table>