Step 6 of 15 · C · Putting a value in
Open it back up — value still there
score
score = 100. Time for a quick trip.
Step 1 / 11idle
Time passes — many other steps run, lots of other things happen.
Howie comes back later and lifts the lid on the box: the value is still there, exactly as he left it.
A box remembers — once a value is dropped in, it stays put until you explicitly swap it out.
No one else can sneak in and change the value — only an action you write can replace it.
Compare this to a value floating in mid-air, which vanished after one step — the box outlives that.
This memory is the whole point of a variable: a stable home you can come back to and trust.
Because of this, programs can build big things over many steps without losing track of the pieces.
Check yourself
Quick check
You drop the number 100 into the box named **score**, then walk away while many other steps run. What is inside the box when you come back?
