How does Codecademy know if my answer is right or wrong when I run my code?
Codecademy runs tests behind the scenes to ensure that your code meets the requirements of the exercise or project you’re working on. If you think you have followed them and see an error or warning, be sure that you’ve done the following:
Use the same variable names requested by the instructions
Assign the same values requested
Look for any missing spaces, capitalization, and/or punctuation if you’re writing a string
A super common mistake is writing something like
“toy story” when the behind-the-scenes tests are checking for
“Toy Story”. This eye for detail comes in handy as a programmer when you’re trying to debug your own code!