In this first post we going to talk about the variables in Python like all other programming language the variables is just a container it holds some data in a variable name
In another program language the variables must be mentioned whether its a integer or float character something
But in Python language you did not care about that datatype has so much but you must be care some places we are covering the upcoming posts of these
In Python programming language you can I easily create the variable name without specify the datatype
There are some restriction are in the variable name in Python
you did not start the variable name in number it should be start within the letters underscore something
You cannot start the name in special characters or number
The another one thing is notice like another languages the variable has case sensitive it means the uppercase variable and lowercase variable but in same letters it be very
In another one important thing on the Python variables you cannot assign variable name as defined Python keywords
In Python has 21 keywords are assigned to some other special purpose like "class" " try " something you cannot use as a variable if you use something it returns has some Syntax error
Comments
Post a Comment