Here is the secret that separates people who learn to code from people who quit: nobody writes code that works first time. Not beginners, not professionals with twenty years in. Module 1 told you debugging is most of the job. The difference is entirely in what happens next. Beginners read the red text as you failed. Professionals read it as a delivery address for the fix.
Module 2 said spreadsheet errors like #N/A are instructions, not insults. Python errors are the same — just wordier, which, once you can read them, makes them far more helpful.
Meet a traceback
Run this broken code from the variables lesson:
age = input("How old are you? ") print(age + 1)
Type 25 when asked, and you get something like:
Traceback (most recent call last) line 2, in cell print(age + 1) TypeError: can only concatenate str (not "int") to str