dumb question.

Andy McKay andym at ActiveState.com
Wed Aug 29 17:06:16 EDT 2001


> print automatically ends the printed text with a \n. You can avoid this in
two
> ways:

Or put a comma on the end of your statement, it puts a space in instead of a
\n.

print 'hello',
print 'world'

Cheers.
--
  Andy McKay.





More information about the Python-list mailing list