If you run the exact same code from scratch, you’ll get a different answer: 5!

Whoever wrote the prior analysis failed to use our golden rule: Restart the kernel and run all cells.

a=2
b=3
b=b+a
print(b)
5