New submission from Glenn:
when in the Idle editor this line command does not work:
print Hello World!
does not work it says it is a syntax error but
x=Hello World!
x
produces this
'Hello World!'
--
components: IDLE
messages: 179164
nosy: pargo
priority: normal
severity: normal
Ezio Melotti added the comment:
That's because in Python 3 print is a function, so you need to do print(Hello
World!) instead.
See the Python 3 tutorial: http://docs.python.org/3/tutorial/
--
nosy: +ezio.melotti
resolution: - invalid
stage: - committed/rejected
status: open - closed
Ned Deily added the comment:
Also see http://docs.python.org/3/whatsnew/3.0.html#print-is-a-function
--
nosy: +ned.deily
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16875
___