++ emojis a los resultados

This commit is contained in:
fenix 2024-02-13 12:24:27 +01:00
parent a4dad7dcc3
commit 798220d266
2 changed files with 12 additions and 6 deletions

View File

@ -11,23 +11,28 @@
<h1>Python Challenge ResultadOS: </h1>
<ul>
<li>
<li>
:-)
<em>Sandrine:</em> 100/100
</li>
<li>
<li>
:-)
<em>Gergeley:</em> 87/100
</li>
<li>
<li>
:-)
<em>Frieda:</em> 92/100
</li>
<li>
<li>
:-(
<em>Fritz:</em> 40/100
</li>
<li>
<li>
:-(
<em>Sirius:</em> 75/100
</li>

View File

@ -11,7 +11,8 @@
<h1>{{ test_name }} ResultadOS: </h1>
<ul>
{% for student in students %}
<li>
<li>
{% if student.score > 80 %} :-) {% else %} :-( {% endif %}
<em>{{ student.name }}:</em> {{ student.score }}/{{ max_score }}
</li>
{% endfor %}