AI engineering glossary · Python core
What is identifier?
Identifier: The name given to a variable, function, class or module. A Python identifier may contain letters, digits and underscores, cannot start with a digit, is case-sensitive and cannot be a reserved keyword. Clear identifiers make code readable.
Identifier: an example
total_marks and _temp are valid identifiers; 2nd_name and class are not. Total and total are different names.
Related terms
More Python core terms
Where you learn it
Identifier is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.