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.

Level: beginnerTopic: Python core

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.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.