Sub topic 3
Writing answers students can act on
This chapter assumes you have already sorted questions by type and urgency (the earlier chapters on question types and triage). It also assumes you have answered learner questions in some format before, and that you can read short Python snippets. The goal here is to write answers a student can use without asking a second question.
What "actionable" means
An answer is actionable when the student can do the next step using only what is on the screen. They should not have to guess what you meant, hunt for a link, or reply with "which file?"
Every extra round trip costs a student hours or days. At scale it also costs you, because each follow-up is another item in the queue. A good answer is the cheapest way to shrink the queue.
Four properties make an answer actionable:
- Correct. The facts, code, and links are right for the current version of the course.
- Self-contained. It makes sense without the original thread open next to it.
- Specific. It names the file, the lecture, the setting, or the line.
- Next-step oriented. It ends with what to do and how to tell it worked.
Kindness is a fifth property, and it affects whether students keep asking. It is covered later in this chapter.
The anatomy of a good answer
A reliable structure has five parts. You will not always need all five, but check each one before you post.
- Direct answer first. Put the answer or the main instruction in the first sentence. Do not open with background.
- Reason. Give one or two sentences on why. This helps the student fix the same problem alone next time.
- Steps or example. Use a numbered list for procedures and a short code block for code.
- Check. Say how the student can confirm the fix worked, such as the output they should see.
- Pointer. Link to the lecture, FAQ entry, or documentation for more depth.
A weak answer and a strong one
A student writes: "My code gives an error when I run the lesson 3 script."
A weak reply:
> Make sure your environment is set up properly and try again.
This is not actionable. It does not say what "properly" means, and it does not tell the student what to try.
A stronger reply:
That error usually means the course package is not installed in the
Python you are running. Check which Python is running the script:
1. In your terminal, run: python --version
2. Run: python -m pip install -r requirements.txt
3. Run the script again with: python lesson3.py
You should see "Loaded 120 rows" as the first line of output.
If you still get an error, reply with the full text of the error
(copy and paste it, do not use a screenshot) and the output of step 1.(That reply is shown as plain text here because it is a forum post, not a program.) Notice what it does. It diagnoses in one sentence, gives numbered steps, states the expected result, and tells the student exactly what to send back if it fails.
Diagnose before you prescribe
Many answers fail because the responder answered the question as written, not the problem the student has. Students often ask about their attempted solution, not their goal. They may also leave out the detail that matters most.
Before writing, check three things:
- What is the student trying to achieve?
- What have they already tried?
- What information is missing: version, operating system, exact error text, which lecture?
If a key detail is missing, do not guess in a long answer that covers every possibility. Ask for the specific missing items in one message. A good clarifying request is short and lists exactly what you need. This is the one case where a reply that does not fully solve the problem is still the right answer.
Thanks for the detail. To narrow this down, could you send:
- the exact error text (copied, not a screenshot)
- your operating system and Python version
- which lecture and step you were onAsking for all three at once avoids three separate round trips.
Make the answer self-contained
Students find answers through search, email notifications, and the FAQ, often without the thread around them. Write each answer so it survives being read alone.
- Restate the question in a few words: "To submit assignment 2 after the deadline..."
- Name things fully: "the
Settingsmenu at the top right of the course page", not "the menu". - Use links with descriptive text, and also name the lecture, because links break when the course is reorganized.
- Avoid "as I said above", "see my previous reply", and "same as before".
- Avoid time-relative words like "today" or "this week". Use dates.
Self-contained answers are also the raw material for the knowledge base covered in a later chapter. An answer that needs its thread cannot be reused.
Match depth to the student
The same question can need different answers. A student asking "why does my loop never end?" might need the one-line fix, or might need to understand loop conditions. Look at their wording, their code, and their history in the course.
| Signal from the student | What to write |
|---|---|
| Pastes code and a precise error | Short fix plus one sentence of reason |
| Says "I don't understand X at all" | Explain the concept first, then the example |
| Asks "is this right?" with an attempt | Say yes or no, then point to the specific line |
| Is frustrated or says they are stuck for hours | Lead with reassurance and the simplest next step |
| Asks something the lecture covers | Answer briefly, then point to the lecture timestamp |
When in doubt, give the shortest correct answer and offer more: "If you want the longer explanation of why, say so and I will write it up."
Guide without giving away the work
For graded assignments, the best answer often does not hand over the solution. You can still make it actionable by giving the student a concrete next move.
- Point to the concept: "Look again at how
rangehandles the end value." - Suggest a diagnostic: "Print
len(items)before the loop and compare with what you expect." - Show a similar example that is not the assignment.
- Name the category of the bug without fixing it: "The logic is right. The problem is an off-by-one in the slice."
This keeps the answer useful and respects academic integrity, which a later chapter treats in more detail.
Code in answers
Code that does not run wastes the student's time and damages trust. When you include code:
- Test it, ideally in a clean environment that matches the course setup.
- Keep it minimal. Show only what is needed to make the point.
- Use fenced code blocks with a language so formatting survives.
- Show the expected output as a comment or a separate block.
Here is an example of a small, complete snippet that explains a common beginner error: modifying a list while looping over it.
items = [1, 2, 3, 4, 5, 6]
# Wrong: removing while iterating skips elements
for n in items:
if n % 2 == 0:
items.remove(n)
print(items) # [1, 3, 5] looks right here, but try it with [2, 4, 6, 8]
# Right: build a new list
items = [1, 2, 3, 4, 5, 6]
odds = [n for n in items if n % 2 != 0]
print(odds) # [1, 3, 5]The callout below shows a trap in the example above.
Tone: clear and kind
Tone decides whether a student asks again. Students often ask while confused, behind, or embarrassed. A few habits help:
- Never say "obviously", "simply", or "just". They tell a stuck student that they are failing at something easy.
- Thank the student for the useful detail they gave, such as the error text. This teaches them what a good question looks like.
- Say "this trips up many people" when true. It is honest and it removes shame.
- Be brief. Warmth is one sentence, not a paragraph.
- Admit uncertainty. "I am not sure, I will check and reply by Friday" is better than a confident wrong answer.
If a question reveals a flaw in the course, such as a typo, a broken link, or an unclear step, say so plainly and thank the student. Then record it for the course improvement process described near the end of this tutorial.
Close the loop
An answer is not finished when you post it. Add a line that invites a result: "Let me know if this fixes it." Then use the platform's features, such as marking an answer as accepted or resolved, so the thread is clearly closed and searchable.
If the student does not reply, you cannot tell whether it worked. For high-volume courses, a common compromise is to mark threads resolved after a fixed period, such as seven days without a reply, and to say so in the answer: "I will mark this resolved on the 5th unless you reply."
A pre-posting checklist
The flow below summarizes the review you can run in a few seconds.
Common errors
- Answering a different question. The reply is correct but solves a problem the student did not have. Restating the question in your first line catches this.
- The wall of text. Six paragraphs of background before the instruction. Move the answer to the top.
- Link-only answers. "See lecture 4" with no detail. Add one sentence of what they will find and where.
- Untested code. Always run it.
- Over-answering. Covering five possible causes when one is likely. List the most likely cause first, and offer the others only if it fails.
- Condescension. Words like "simply" and "obviously", or pointing out that the answer is in the lecture without saying where.
- Leaving it open. No expected result and no invitation to reply.
Exercise
A student writes, "The quiz won't let me submit, it just spins." Using the anatomy in this chapter, write a reply. Include a clarifying request, because key details are missing, and state what the student should do first.
Show answer
A strong reply restates the problem, gives one likely first step, and asks for specific missing details in a single message. For example: "If the Submit button only spins, the most common cause is a stale browser session. First, refresh the page and sign in again, then try submitting. You should see a 'Submitted' confirmation. If it still spins, please reply with: your browser and version, whether you see any red error text, and which quiz and question you were on. I will look at it as soon as I have those." Check that it puts an action first, says how to confirm success, asks for all missing details at once, avoids "just" and "simply", and does not guess at five causes.
Exercise
Why can a reply that says "As I said above, check the config file" fail as an answer even if it is correct?
Show answer
It is not self-contained. A student who finds it through search or an email notification cannot see "above", and "the config file" does not name the file or its location. It should name the file, say what to change, state the expected result, and make sense without the thread. This also stops the answer from being reusable in the knowledge base.