Introduction:
Similar to the keywords and identifiers are also names given to different parts of a Python program identifiers are used to provide new names for the following useful entities in Python like wise.
- Variables
- Objects
- Classes
- Functions
- Lists
- Dictionaries etc.
DEFINITION OF IDENTIFIERS:
A variable or identifier is the name given to the memory location so that there is no need to to remember the address of the location and these identifiers can hold different kind of data like integer, float, and string etc.
example
You use the name of the person to remember the number of mobile contacts because it is easier to find the mobile number via the name saved by you .
one more example for your ease to understand is the website address if I tell you the web address of my left side is 17268 152 137 and you have to remember this address if you wish to visit again and if I tell you www.iasbaba.com then it will be easier to remember
Similarly our system memory is divided into a number of small parts [sectors and blocks].
now you can see that IN A PYTHON PROGRAM, IF WE DECLARE AN STATEMENT LIKE THIS:-
age=32
Then the random location 11052 [LET’S SAY ] is occupied by variable / Identifier ageand the value 52 is given.
Now also, there are some rules for creating identifiers for variables in Python.
- We cannot use keywords as an identifier
- variable names must be made with only letters numbers and_
- variable names cannot start with numbers although they can contain numbers
Important Note :
we cannot use space between in Python programs BECAUSE Python is case sensitive as it treats lower and uppercase characters differently.
now you can more understand this concept with the help of the following table diagram
CONTINUE READING……………
PYTHON : KEYWORDS Continue Reading
PYTHON : IDENTIFIERS Continue Reading
PYTHON : LITERALS Continue Reading
PYTHON : OPERATORS Continue Reading
PYTHON : PUNCTUATORS Continue Reading
Also Read in COMPUTER SCIENCE CLASS 12 CBSE
PYTHON: Data Types How to Learn Python free online Syllabus : computer science with pythonCloud computingAlso Read in PHYSICS CLASS 12 CBSE
Important Concepts Electrostatic Chapter 2 : Electric potential and capacitancephysics reduced syllabus class 12 cbse 2020-21Important notes and questions Class 12 Physics : electric charge and electric field
A Trained Post Graduate Teacher with 10 years of experience and working as TGT/PGT–Computer Science including good Management and administration skills with managerial positions in previous work environments