Sina Media Lab commited on
Commit
f63a29c
·
1 Parent(s): cab1b57
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -62,9 +62,9 @@ def generate_pdf_report():
62
  pdf.multi_cell(0, 10, f"Q: {question}")
63
  for option in options:
64
  if option == correct:
65
- pdf.multi_cell(0, 10, f"Correct: {option}")
66
  elif option == selected:
67
- pdf.multi_cell(0, 10, f" Your Choice: {option}")
68
  else:
69
  pdf.multi_cell(0, 10, f" {option}")
70
  pdf.multi_cell(0, 10, f"Explanation: {explanation}")
 
62
  pdf.multi_cell(0, 10, f"Q: {question}")
63
  for option in options:
64
  if option == correct:
65
+ pdf.multi_cell(0, 10, f"[Correct] {option}")
66
  elif option == selected:
67
+ pdf.multi_cell(0, 10, f"[Incorrect] {option}")
68
  else:
69
  pdf.multi_cell(0, 10, f" {option}")
70
  pdf.multi_cell(0, 10, f"Explanation: {explanation}")