7.1.4 Avoiding Name Errors

One of most common types of errors occurs when a variable name is spelled incorrectly. What message do you receive when you try to run the program below?

You should have received a NameError because Python thinks you are introducing a new variable without defining it or you entered it incorrectly.