Skip to content

Changing and swapping values

Watch it run · 1 of 4

Shortcuts

1score = 10
2score = score + 5
3score += 5
4score -= 1
5print(score)

Memory

int score

10

Output

(nothing yet)

line 1Start at 10.

step 1 of 5