Sina Media Lab
commited on
Commit
·
ad59957
1
Parent(s):
39b3461
Updates
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ def generate_pdf_report():
|
|
57 |
)
|
58 |
pdf.multi_cell(0, 10, f"Q: {question}")
|
59 |
for option in options:
|
60 |
-
if option
|
61 |
pdf.set_text_color(0, 128, 0) # Green for correct
|
62 |
pdf.multi_cell(0, 10, f"{option}")
|
63 |
elif option == selected:
|
|
|
57 |
)
|
58 |
pdf.multi_cell(0, 10, f"Q: {question}")
|
59 |
for option in options:
|
60 |
+
if option == correct:
|
61 |
pdf.set_text_color(0, 128, 0) # Green for correct
|
62 |
pdf.multi_cell(0, 10, f"{option}")
|
63 |
elif option == selected:
|