Variable printing in python
<p>I'm new to Python and I'm trying to declare a variable and print its value.</p>

<p>This is my code:</p>

<pre><code>#!C:\Python32\python.exe
import sys
import os
import cgi
import cgitb
cgitb.enable()
a = 5
print(a)-------------------------&gt; My doubt is in this line
</code></pre>

<p>But one of my friends writes that line as <code>print a</code>. In his Python, it is printing that value, but in my case it is showing as "Invalid Syntax". Why is this happening?</p>
