Spaces:
Build error
Build error
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +10 -10
src/streamlit_app.py
CHANGED
|
@@ -78,13 +78,13 @@ with tab3:
|
|
| 78 |
st.write("Incorrecte, no sumes punt.")
|
| 79 |
|
| 80 |
with col2:
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
|
|
|
| 78 |
st.write("Incorrecte, no sumes punt.")
|
| 79 |
|
| 80 |
with col2:
|
| 81 |
+
st.title("Comptador de punts:")
|
| 82 |
+
st.write(f"Has aconseguit {c} punts")
|
| 83 |
+
if 9 <= c <= 10:
|
| 84 |
+
st.write(f"Felicitats ! Has tret AE amb un {c}! Pots passar al nivell difícil !")
|
| 85 |
+
elif 5 <= c <= 6:
|
| 86 |
+
st.write(f"Has tret AS amb un {c}! Torna-ho a probar.")
|
| 87 |
+
elif 7 <= c <= 8:
|
| 88 |
+
st.write(f"Has tret AN amb un {c}! Torna-ho a probar.")
|
| 89 |
+
elif 0 <= c <= 4:
|
| 90 |
+
st.write(f"Has suspes amb un {c}! Torna-ho a probar.")
|