Why print(a++) has syntax errors in python, but not print(++a) : <p>I am a beginner in python and I am using Python 3.5. The python console complains invalid syntax for the below statement:</p>

<pre><code>a = 5
print(a++)
</code></pre>

<p>But <code>print(++a)</code> works fine. Can anyone help me understand the difference?
Btw, it seems that <code>print(a+=1)</code> also doesn't work.
Thanks!</p>
