+ 1
What are variables?
7 Answers
+ 2
A variable is something that is something that is subject to change.
In python terms- you often declare the variable name and then assign a value to it. E.G-
example = 'Great'
print (example)
>>> Great
+ 1
You can just about assign any value to a variable. Bare in mind what type of data you are assigning, so if you are assigning a string dont forget your quote marks
+ 1
variable are locations where some data through out the programme are stored
+ 1
Variables are letters that can be assigned values.
An example is x = 21
0
simply variables are placeholders or containers to store value and name them as you desired and call wherever you want in the program
- 2
variable is one that has no fixed values user can make changes according to them as per the use.
- 4
Variable is something that changes or placeholder it can be names, objects etc.