print without intervening space

Ernie eadorio at yahoo.com
Fri Aug 29 05:02:04 EDT 2003


Hi,

>>> for x in range(10)
...   print x,
...

will output 

0 1 2 3 4 5 6 7 8 9
>>>

What if somebody wants instead

0123456789

Maybe we need a  printns (print with no spaces) ?

Ernie




More information about the Python-list mailing list