Home | | Problem Solving and Python Programming | Identifiers - Python

Chapter: Problem Solving and Python Programming : Data, Expressions, Statements

| Study Material, Lecturing Notes, Assignment, Reference, Wiki description explanation, brief detail |

Identifiers - Python

Identifier is the name given to entities like class, functions, variables etc. in Python.

IDENTIFIERS:

 

Identifier is the name given to entities like class, functions, variables etc. in Python.

v   Identifiers can be a combination of letters in lowercase (a to z) or uppercase (A to Z) or digits (0 to 9) or an underscore (_).

v   all are valid example.

v   An identifier cannot start with a digit.

v   Keywords cannot be used as identifiers.

v   Cannot use special symbols like !, @, #, $, % etc. in our identifier.

v   Identifier can be of any length.

Example:

Names like myClass, var_1, and this_is_a_long_variable



Study Material, Lecturing Notes, Assignment, Reference, Wiki description explanation, brief detail


Copyright © 2018-2020 BrainKart.com; All Rights Reserved. Developed by Therithal info, Chennai.