Answers for "loop in html using flask"

2

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>
Posted by: Guest on November-23-2019

Python Answers by Framework

Browse Popular Code Answers by Language