[Tutor] Issues In Terminal
Alan Gauld
alan.gauld at btinternet.com
Tue Sep 28 12:02:56 CEST 2010
"Marc Tompkins" <marc.tompkins at gmail.com> wrote
> The parentheses are optional in 2.6, mandatory in 3. In 2.6, print
> and
> print() are alternate ways to invoke the print statement
Not strictly true. They often give the same results but not always,
see a recent thread on this. In particular
>>> print ('a','b')
is quite different to
>>> print 'a','b'
But that shouldn't be an issue for 'hello world'
Alan G.
More information about the Tutor
mailing list