Loopy Python

Here's a thought-provoking puzzle for you. What is the final value of a in the python code below?

Your answer needs to be a=