"Marc Tompkins" <marc.tompk...@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.


_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to