NameError
The error raised when you use a name Python does not know, usually from a misspelled variable or from reaching a local variable outside its function.
The error raised when you use a name Python does not know, usually from a misspelled variable or from reaching a local variable outside its function.