lundi 27 novembre 2017

Adding table with flask

In my basic web application, when click to "calculate" button there can be two options. First, there is only one result so I directly show them to the users. Secondly, there can be more than one result so I need to use table to show my results.

For the first option, I can show my result like below:

<p>Result </p> 

But I cannot figure out if my "result" parameter is array and how can I show it in the table in my html file.

Any help is appreciated.




Aucun commentaire:

Enregistrer un commentaire