Everton Aleixo commited on
Commit
e1bcdc1
1 Parent(s): f34559c

Fix lang error

Browse files
Files changed (1) hide show
  1. app.py +5 -5
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 asignment was {grade1}. It represents a concept of {get_concept(grade1)}.")
43
- st.markdown(f"###### The grade for the second asignment was {grade2}. It represents a concept of {get_concept(grade2)}.")
44
- st.markdown(f"###### The grade for the third asignment was {grade3}. It represents a concept of {get_concept(grade3)}.")
45
- st.markdown(f"###### The grade for the 4º asignment was {grade4}. It represents a concept of {get_concept(grade4)}.")
46
- st.markdown(f"###### The grade for the 5º asignment 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)}.")
 
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)}.")