Why do I need variables? Isn't it easier to just type the number?


Variables introduce an element of change into your program. By using variables, you can store data, make animations, create games, etc. Variables are also useful for maintaining your code, by creating a variable you can easily change a value which is used in many places throughout your code.


Last updated October 4, 2017

Was this article helpful?
15 out of 20 found this helpful
Have more questions? Submit a request