On Mon, Feb 9, 2009 at 5:32 PM, Marc Tompkins <marc.tompk...@gmail.com> wrote:
> Don't forget - the "print" statement is going away in 3.0, and you really
> should get into the habit of using the print() function instead for new
> code.  IIRC, print() does NOT support suppressing the newline, but IMNRC (I
> might not remember correctly.)

Except they are not equivalent when you want to print more than one
thing. In Python 3:
>>> print(3, 4)
3 4

Python 2.6:
In [1]: print(3, 4)
(3, 4)

Kent
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to