How can I interpret the error messages to understand where I went wrong?

Question

How can I interpret the error messages to understand where I went wrong?

Answer

Often at times Codecademy will give you a more descriptive error message than you’d normally get, like telling you that your output doesn’t look quite right or that your calculations are a bit off. If that’s the case, check over the part of your code relevant to that part.
Understanding the default Python errors in the terminal on the right can be a bit more challenging, but they do give a few useful hints. They typically give an error name, like IndentationError, which is self-explanatory. They also point to the line where the issue is, or sometimes right after where the issue is.

2 Likes