practicepython.in
python exercises
171 exercises

Daily #37 · 4 November 2026

Plus five, almost Easy

What does this print?

score = 10
score =+ 5
print(score)
  1. A5
  2. B10
  3. Craises SyntaxError
  4. D15
Show the answer

A: 5

Why: =+ 5 is not an operator. Python reads it as = +5: store positive 5 in score, replacing the 10. The operator that adds is +=, with the plus first.

Play today’s puzzle →