+ 1
what is a variable?
7 Réponses
+ 3
A variable is like a container in which you can store values like integers, floats, string etc. Like container, values can be changed whenever needed. You can not define variable name as same as reserved keywords. Variables can only start with characters or underscore, you can use numbers, characters, underscore to define a variable.
+ 1
A variable is a location in memory where you can store data temporarily and his content may vary through run time. This one is identified by an unique name.
0
a variable is something which assigns any value to it
0
why are you answering yourself?
0
A variable defines a number or an statement
0
A variable as it sounds contains a specific value
like a string.or a number..for example
X=1
Y=2
print(X+Y)
//output= 3
this means that X contains a value of one and Y contains a value of 2.both added together gives 3
- 1
I believe it's to get a self-learner achievement after five upvotes.