Python tutorial part 12 :- Identifiers

Identifiers


 


Identifiers are the names given to the fundamental building blocks in a program.

 

These can be variables ,class ,object ,functions , lists , dictionaries etc.There are certain rules defined for naming i.e., Identifiers.

 

1.    An identifier is a long sequence of characters and numbers.

2.    No special character except underscore ( _ ) can be used as an identifier.

3.    Keyword should not be used as an identifier name.

4.    Python is case sensitive. So using case is significant.

5.    .First character of an identifier can be character, underscore ( _ ) but not digit.

 

No comments:

Post a Comment

Quick Tech