Atom

Variables

A variable is a name your program can use to find a value. Assignment creates or updates the binding between the name and the value.

Save a score and update it

Start with a score of four and add another point.

Atom
score = 4
score = score + 1
print(score)
Output
5

The right side uses the old value. Atom then assigns the result to score.