结合列表的值,并在打印表格,FIRST_NAME与姓氏形成FULL_NAME结合

问题描述 投票:-1回答:1

需要在列表显示为表的一部分,则值组合使用的烧瓶中,引导程序和蟒。我已经打印的姓氏和名字,但我不知道如何将这些值组合打印。

我已经打印的姓氏和名字,但我不知道如何将这些价值观结合起来,打印需要打印的图像中看到

Python代码添加图像

  <table class="table">
        <thead>
            <tr>
                <th>First Name</th>
                <th>Last Name</th>
                <th>Full Name</th>
            </tr>
        </thead>
        <tbody>
            {% for i in range(0,ln) %}
                <tr> 
                    {% for j in users[i] %}
                        <td>{{ users[i][j] }}</td>
                    {% endfor %}
                    <td>-</td>
                </tr>
            {% endfor %}
        </tbody>
    </table>

(Qazxswpoi)

python html flask
1个回答
-1
投票

尝试这个。

https://imgur.com/a/XKj9ktj
© www.soinside.com 2019 - 2024. All rights reserved.