[Tutor] Simple PassGen
Kent Johnson
kent37 at tds.net
Tue Feb 10 03:46:21 CET 2009
On Mon, Feb 9, 2009 at 5:32 PM, Marc Tompkins <marc.tompkins at 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
More information about the Tutor
mailing list