Skip to content

Commit

Permalink
[docs] fix wrong indentation in tutorial (#1027)
Browse files Browse the repository at this point in the history
  • Loading branch information
anaHue authored Feb 11, 2025
1 parent 9a6d192 commit 54a65c9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions doc/teacher_doc/task_tuto.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 54a65c9

Please sign in to comment.