Learn/Courses/Variables and print()
PreviewSign in to save progress

What is a variable?

Video lecture ยท 2 min ยท 50 XP

A 90-second walk-through of how Python stores values in named boxes (variables) and shows them with print(). Watch the visual, then move on to the hands-on coding.

  • A program runs top to bottom, one line at a time.
  • = stores a value in a name; you can use that name later.
  • print(...) shows a value on the screen.