In programming, a variable is a named space in the computer's memory that stores a piece of data —a number, some text, or a true/false value— and whose contents can change while the program runs. It works like a labeled box: you give it a name, put something inside, and can read or replace that value whenever you need to. It is not a statistics concept, but the basic building block programs use to remember information.
How a Variable Works
Every variable has three parts: a name, a data type, and a value. In Scratch there is a "make a variable" block, commonly used to keep a game's score: you create the score variable, set it to 0 at the start, and add 1 each time the character catches an apple. In Python it is just as simple:
score = 0
score = score + 1
With just two lines the scoreboard updates on its own. That same mechanism —store a value and update it— appears in almost every program: a videogame app can juggle hundreds of variables at once for positions, lives, and levels.
Why It Matters for Kids
Understanding variables is the first step for a child to go from "using" apps to building them: it is the foundation of the logic behind any videogame or animation. In Algonova's coding courses kids practice variables by building their own games, and the concept connects directly with what an algorithm is. You can see it in action in a free trial class, at no cost.

