Answers for "how to use a for loop in 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