From 54a65c98dd4338cd86fb6bb7e1c1836340a25338 Mon Sep 17 00:00:00 2001 From: Anatole Huet <71709355+anaHue@users.noreply.github.com> Date: Tue, 11 Feb 2025 08:42:56 +0100 Subject: [PATCH] [docs] fix wrong indentation in tutorial (#1027) --- doc/teacher_doc/task_tuto.rst | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/teacher_doc/task_tuto.rst b/doc/teacher_doc/task_tuto.rst index f3cf10139..85a16bdc2 100644 --- a/doc/teacher_doc/task_tuto.rst +++ b/doc/teacher_doc/task_tuto.rst @@ -72,10 +72,9 @@ in the webapp in the *Task files* tab of the *Edit task* page. #. Create a template file ``template.py``, where we will put the code of the student. :: - def func(): - @ @question1@@ - - func() + def func(): + @ @question1@@ + func() The syntax is very simple: put a first ``@`` on the line where you want to put the code of the student. Then indent the line and write a second ``@``. Now write the problem id of the problem you want to take the input