All lessons

Variables & Values

A variable is a named box that holds a value

This box is the variable x. Press the buttons to change what's inside. Notice x = x + 2 uses the current value, but x = … just replaces it.

x📦 x is now3

History

x = 33