Spaces:
Runtime error
Runtime error
Commit ·
ddd5da8
1
Parent(s): dfeefd3
style: :art: fix checkstyle
Browse files
edu_assistant/learning_tasks/coding_problem.py
CHANGED
|
@@ -61,7 +61,8 @@ class CodingProblem(Model):
|
|
| 61 |
def expr(self, lang=""):
|
| 62 |
expr = f"## Question\n\n```\n{escape_for_prompt(self.question)}\n```\n\n"
|
| 63 |
expr += (
|
| 64 |
-
f"## Standard Answer (There might be others)\n\n```{lang}\n{escape_for_prompt(self.standard_answer)}\n```
|
|
|
|
| 65 |
if self.standard_answer
|
| 66 |
else ""
|
| 67 |
)
|
|
|
|
| 61 |
def expr(self, lang=""):
|
| 62 |
expr = f"## Question\n\n```\n{escape_for_prompt(self.question)}\n```\n\n"
|
| 63 |
expr += (
|
| 64 |
+
f"""## Standard Answer (There might be others)\n\n```{lang}\n{escape_for_prompt(self.standard_answer)}\n```
|
| 65 |
+
"""
|
| 66 |
if self.standard_answer
|
| 67 |
else ""
|
| 68 |
)
|