Spaces:
Runtime error
Runtime error
Everton Aleixo
commited on
Commit
•
e1bcdc1
1
Parent(s):
f34559c
Fix lang error
Browse files
app.py
CHANGED
@@ -39,11 +39,11 @@ def get_concept(grade):
|
|
39 |
return 'F'
|
40 |
|
41 |
if clicked:
|
42 |
-
st.markdown(f"###### The grade for the first
|
43 |
-
st.markdown(f"###### The grade for the second
|
44 |
-
st.markdown(f"###### The grade for the third
|
45 |
-
st.markdown(f"###### The grade for the 4º
|
46 |
-
st.markdown(f"###### The grade for the 5º
|
47 |
|
48 |
final_grade = (grade1*0.05)+(grade2*0.05)+(grade3*0.1)+(grade4*0.1)+(grade5*0.7)
|
49 |
st.markdown(f"#### The final grade of student is {final_grade}. It represents a concept of {get_concept(final_grade)}.")
|
|
|
39 |
return 'F'
|
40 |
|
41 |
if clicked:
|
42 |
+
st.markdown(f"###### The grade for the first assignment was {grade1}. It represents a concept of {get_concept(grade1)}.")
|
43 |
+
st.markdown(f"###### The grade for the second assignment was {grade2}. It represents a concept of {get_concept(grade2)}.")
|
44 |
+
st.markdown(f"###### The grade for the third assignment was {grade3}. It represents a concept of {get_concept(grade3)}.")
|
45 |
+
st.markdown(f"###### The grade for the 4º assignment was {grade4}. It represents a concept of {get_concept(grade4)}.")
|
46 |
+
st.markdown(f"###### The grade for the 5º assignment was {grade5}. It represents a concept of {get_concept(grade5)}.")
|
47 |
|
48 |
final_grade = (grade1*0.05)+(grade2*0.05)+(grade3*0.1)+(grade4*0.1)+(grade5*0.7)
|
49 |
st.markdown(f"#### The final grade of student is {final_grade}. It represents a concept of {get_concept(final_grade)}.")
|