Variables: give values a name
Store a value under a name, then read or update it as your program runs.
A CODETUTOR MINI-LESSON
Give a value a name.
Variables help your program remember information.
CHAPTER 01
A variable gives a value a name so your program can use it again.
VIDEO EXPORT · NARRATED
Download MP4Narrated lesson video
FOLLOW ALONG
5 momentsLesson transcript
YOUR TURN
Ready to try one?
Practice what you just learned with a short exercise made for this lesson.