← All student tutorials

Tutorial 6 of 8

Get help from the AI tutor

The tutor is built to ask before it answers. It can see the code you wrote and the error you hit, so its help is about your program rather than a generic answer from the internet.

  1. Step 1

    Open the tutor and ask a real question

    1. On an exercise, click the floating 💬 AI tutor button near the bottom right. A drawer opens from the right side. On a lesson page the tutor is already open in the right column.
    2. Type what is actually confusing you into the box at the bottom, then press Ask. Be specific: I don't understand why my print line has no space in it beats help.
    3. Look at the small uppercase label above the reply, for example HINT LEVEL 2. That tells you which step of the ladder you are on.
    4. The gold pill in the tutor header names the model answering you.
    The AI tutor drawer open beside the code editor. The header reads 'AI tutor — Guided learning, I ask before I answer'. A student message asks why we use variables instead of typing numbers, and the reply is labelled HINT LEVEL 2 and ends with a question back to the student.
    The tutor drawer. Notice that the reply ends by asking you something.
  2. Step 2

    Understand the ladder

    1. Level 1 is a guiding question, usually about what your error message says.
    2. Level 2 is the concept behind the bug.
    3. Level 3 is a similar code pattern, not your answer.
    4. Level 4 explains your error message in plain English.
    5. Level 5 is a partial solution with the key lines blanked out.
    6. Level 6 is the full solution, and it is switched off unless your instructor turns it on.

    Tip. Asking for the answer outright gets a polite refusal and a lower step instead. Repeated "just give me the answer" messages are flagged for your instructor, and the note under the input box says so.

  3. Step 3

    Hand over your actual code

    1. In a lesson's Hands-on coding block, click Ask the AI tutor in the button row under the editor.
    2. Your current code and your last error go to the tutor automatically. No copy-paste into a chatbot.
    3. The reply is grounded in what you actually wrote, so it will name your variables and your line.
    4. On the practice runner the same handoff happens through the tutor drawer.
    A lesson's Hands-on coding block with buttons Run, Submit for tests, Reset, Save draft, Show hint, and a highlighted 'Ask the AI tutor'. On the right the tutor replies at HINT LEVEL 2, referring to the student's own `school` and `dept` variables.
    One click sends your code and your error across. The tutor answers about your program, not a generic one.
  4. Step 4

    Know your limits

    1. Tutor messages are capped per student. The default is 25 a day, 100 a week, and 300 a month.
    2. Hitting the cap gives you a clearly marked Limit reached reply, not a broken page.
    3. If you need more, ask your instructor. The limits are adjustable per student.

    Tip. Try predicting the answer before you ask. The input box nudges you to do exactly that, and predicting first is what makes the tutor's reply stick.