Python · Functions

Scope: names inside a function

Two functions can both use a name like total without wrecking each other, because each call keeps its own names.