1 / 9
INTRO

Building on What's There

A fitness tracker screen mid-tick, the step count rising from 1,240 to 1,250 as new steps are added on top of what was already counted, not restarting from zero.

Your fitness tracker already shows 1,240 steps today. Walk ten more, and it doesn't forget the rest — it just adds to what's already there.

How do we tell Python to update a variable based on the value it already holds?