What does variable mean?

A named location in memory that holds a value which can change while the program runs. Assigning gives it a value; using its name reads the value back.

Also written as: variables

In a lesson

A variable is a name that holds a value. It is the first idea in this module that is genuinely new, and every later idea is built on it. Take it slowly.

Learn it

Used in

and 62 more lessons.

Do the lesson in the simulator

All glossary terms