Atom

Assignment operators

Assignment stores a value in a binding or collection entry. A compound assignment uses the previous value to calculate its replacement.

Increment a counter

Start at zero and update the same binding twice.

Atom
count_done = 0
count_done += 1
count_done += 1
print(count_done)
Output
2

Each += adds one to the value already stored in count_done.