Update a variable · in code: Changing a Variable
Gives a value that already exists a new value.
score + 10.Open it in the editor, press Run, then change it and run it again.
score = 0score to score + 10score to score + 5"Score: " + scoreScore: 15score = 0score = score + 10score = score + 5print("Score: " + str(score))score + 10 means: take the old score, add 10, and keep that as the new score.