Variables
π¦ A variable is like a box, that holds something of value
WHAT IS A VARIABLE?
π¦ They are called variables because they βvaryβ or change.
WHAT IS A VARIABLE?
variables, variedad
VARIABLES are containers to help programmers keep their blocks of code in places where they can easily find them.
In coding, variables are like baskets, closets, and boxes.
VARIABLES
π¦ They make code shorter
π¦ They make code easier to read
π¦ They make code change
WHY USE VARIABLES?
The VALUE is what is put inside the variable.
If you are playing a video game and
your score is 95, βscoreβ is your
variable. The thing inside the variable,
the βvalueβ is 95. The VALUE can
change every time you
make another point.