I am new to Python.
I installed Python on my Windows 2003 virtual machine; Launched a Python shell; I dialed the following code -
print "Hello World"
And he turned my back on the next
Syntax Error: invalid syntax
Here are a few other statements
>>> x = 10 >>> print x
Syntax Error: invalid syntax
The following worked fine.
>>> x
ten
Why didn't Python allow me to write a simple Hello World program?
source share