Compare commits

..

2 Commits

Author SHA1 Message Date
fenix 798220d266 ++ emojis a los resultados 2024-02-13 12:24:27 +01:00
fenix a4dad7dcc3 'pintamos' HTML+CSS las puntuaciones ! ii 2024-02-13 12:07:45 +01:00
3 changed files with 45 additions and 3 deletions

View File

@ -3,7 +3,7 @@ HOLA! Sandrine,
( Acá Informamos tan sólo en caso de una cierta puntuación, por encima de un umbral )
( Acá Informamos tan sólo en caso de una cierta puntuación, por encima de un umbral )
Estoy happy to inform you that you did very well on today's Python Challenge.
HAs alcanzado esta puntuacion : 100 de { max_score }} PUNTOS ! ;-)

41
students_results.html Normal file
View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Results</title>
</head>
<body>
<h1>Python Challenge ResultadOS: </h1>
<ul>
<li>
:-)
<em>Sandrine:</em> 100/100
</li>
<li>
:-)
<em>Gergeley:</em> 87/100
</li>
<li>
:-)
<em>Frieda:</em> 92/100
</li>
<li>
:-(
<em>Fritz:</em> 40/100
</li>
<li>
:-(
<em>Sirius:</em> 75/100
</li>
</ul>
</body>
</html>

View File

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