Step 7 of 15 · D · Reading and changing
Reading the value
score=100
100
score = 100. Nice and quiet.
Step 1 / 9idle
When the program needs the value inside a box, it reads the box.
Reading is a peek — Howie looks in, sees the value, and takes a copy out.
The copy goes off to do work — maybe it is added to something, or shown on screen.
The original value stays inside the box — reading does not empty it or change it.
You can read the same box a million times in a row and get the same answer every single time.
This is why a box is so useful — it is a value you can trust to be there whenever you need it.
When you see a box name written somewhere in code, picture Howie quietly taking a copy from inside.
Check yourself
Quick check
When the program reads the value from a box, what *actually* happens?
Quick check
You read the box named **score** five times in a row. What is inside the box after the fifth read?
