Hi,
I have got a problem with a question.
This answer is wrong :
and error is
and this one is good :
Only difference this is 5 lines.
Now my template is
prgm_student = """{{ STUDENT_ANSWER }}"""
if 'if' not in prgm_student:
raise NameError('vous devez utiliser if')
if 'else' not in prgm_student:
raise NameError('bizarre pas de else')
__student_answer__ = """{{ STUDENT_ANSWER | e('py') }}"""
SEPARATOR = "#<ab@17943918#@>#"
{% for TEST in TESTCASES %}
{{ TEST.stdin }}
{{ STUDENT_ANSWER }}
{{ TEST.testcode }}
{% if not loop.last %}
print(SEPARATOR)
{% endif %}
{% endfor %}
I cannot find where is the problem