NameError
python NameError
Raised when a local or global name is not found. The name attribute (Python 3.12+) holds the undefined identifier.
Raised when a local or global name is not found. The name attribute (Python 3.12+) holds the undefined identifier.