Code for [assignment] wrong: [paste code/bug]. Step-by-step logic to find the divergence, not just the fix.
Finding where your logic diverges, without just handing you the answer.
Prompt
My code for [assignment] isn't producing the right output: [paste the relevant code and the bug]. Walk me through the logic step by step to find where it diverges from what I intended, without just handing me the fix.
Use this prompt