Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The error message "data" is not defined in Python means that the code is trying to reference a variable or object called "data" that has not been previously defined in the program.