How does Codecademy check my answer?

Question

How does Codecademy check my answer?

Answer

If you’re given instructions to print a specific string, assign a specific value to a variable, etc., be sure that you match the spelling and capitalization exactly. Often at times if you feel you’ve done an exercise correctly but are getting an error, the error message in the editor will have helpful hints if it was a simple typo, but also look back over your code to make sure you’ve entered what’s being asked for.
For example, if the instructions want you to print “Welcome to Pig Latin!” and you type `print “welcome to pig latin!”, it’ll be marked incorrect!

1 Like

there have been some errors while checking .For e.g. it looks for a variable to be present at a particular line.If it is not declared on that line it will throw an error of incorrect answer.