It is used for identification purpose like- x=10; where x is variable, and it can be store int type value in the x variable.
Rules of identifier:-
- It can be started with underscore like:- _x=10
- It can be created with a variable name like- x=10, y=20, gaurav=20 python=50; but according to rule variable name is not predefined in python.
- It can not begin with a special symbol like- @x=10, @y=20
- It can not start with digits like- 123x=10, 12=150
- It can not be used to reserve words and keywords as an identifier like- True=10, False=20