Everton Aleixo commited on
Commit
c294868
1 Parent(s): d938718
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -47,5 +47,5 @@ if clicked:
47
 
48
  final_grade = (grade1*0.05)+(grade2*0.05)+(grade3*0.1)+(grade4*0.1)+(grade5*0.7)
49
  color = 'red' if final_grade < 73 else 'blue'
50
- complement = 'APPROVED' if final_grade < 73 else 'REPROVED'
51
  st.markdown(f"<h3 style='color: {color};'>{complement}.<br />The final grade of student is {final_grade}. It represents a concept of {get_concept(final_grade)}.</h3>", unsafe_allow_html=True)
 
47
 
48
  final_grade = (grade1*0.05)+(grade2*0.05)+(grade3*0.1)+(grade4*0.1)+(grade5*0.7)
49
  color = 'red' if final_grade < 73 else 'blue'
50
+ complement = 'REPROVED' if final_grade < 73 else 'APPROVED'
51
  st.markdown(f"<h3 style='color: {color};'>{complement}.<br />The final grade of student is {final_grade}. It represents a concept of {get_concept(final_grade)}.</h3>", unsafe_allow_html=True)