codetutor.
YOUR LEARNING SPACE / BEGINNER

Variables: give values a name

Store a value under a name, then read or update it as your program runs.

◷ under 1 min
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.

Use ← → anywhere on this page to change slides
VIDEO EXPORT · NARRATED

Narrated lesson video

Download MP4
FOLLOW ALONG

Lesson transcript

5 moments
YOUR TURN

Ready to try one?

Practice what you just learned with a short exercise made for this lesson.