scripted comparison
Same mistake, two different tutoring styles
Step through the same student turns handled two ways. A baseline tutor jumps straight to the answer. Teachly keeps you reasoning: it finds the misconception behind the bug and checks that the fix actually transfers before calling it done. These cards are a scripted example, not a live tutor response.
choose a scenario
The student is resetting state inside a loop and repeatedly asks for the final code.
Answer-first baseline
My total is always the last number. What is wrong?
Move total = 0 above the loop so it is not reset on every iteration.
Teachly tutor
My total is always the last number. What is wrong?
After the second iteration, what value does total have immediately before total += number?
1 / 4 exchanges