Variables in Python Language.
Variables:
To store a value for future use, you can define a variable with a case-sensitive, specific name that should be used to refer to that value. For defining a variable, use the = sign.
fill_in = 800
print (fill_in)
800
Giving a value to a variable is called declaration . You have to declare a variable before using its value.
When a variable has been declared, it can be used in your coding.
Another example:
name = "John"
print(name)
John
Comments
Post a Comment