What the student sees: TypeError: can only concatenate str (not "float") to str
The Physics Context: They tried to multiply a word by a number.
result = "Mass" * 9.8
The Fix: Make sure variables used in math don't have quotation marks.
<span class="solution">Quotes = Text labels. No quotes = Numerical values.</span>
What the student sees: SyntaxError: invalid syntax (often pointing at a bracket or equals sign).
Common Causes in Physics:
2 * a (Python needs the * symbol).print(voltage.The Fix: <span class="solution">Remind them: "Computer math requires explicit operators (+, -, *, /)."</span>
What the student sees: IndentationError: unexpected indent
The Context: A student accidentally hit 'Space' or 'Tab' at the start of a line.
The Fix: In Python, every line in a basic script should start at the exact same left margin.
<span class="solution">Align everything to the left for Week 1.</span>
What the student sees: No red text, but a wrong answer.
The Physics Context: potential_energy = mass * g + height (using + instead of *).
The Fix: This is where the Architect shines.
<span class="solution">Ask the student: "Does the unit of your answer match the physics? Check your formula line."</span>
^ pointing to where it got confused.Encourage students to intentionally cause these errors.
The Goal: By the end of Week 1, students shouldn't be afraid of the red text—they should see it as a GPS navigation system for their logic.