On Thu, 22 Feb 2007 16:29:17 +1100, Peter Mayne wrote: > Why use print in the interactive interpreter? Just type the expression.
Many reasons. Here are four: >>> print None None >>> None >>> print 0.1 0.1 >>> 0.1 0.10000000000000001 >>> print 'null = \0' null = >>> 'null = \0' 'null = \x00' >>> print 1, 2, 3 1 2 3 >>> 1, 2, 3 (1, 2, 3) I'm sure you can find your own examples. -- Steven. -- http://mail.python.org/mailman/listinfo/python-list