how to print without blank?

Ju Hui phpbird at gmail.com
Sun Apr 9 01:54:17 EDT 2006


I want to print 3 numbers without blank.
>>> for x in range(3):
...     print x
...
0
1
2
>>> for x in range(3):
...     print x,
...
0 1 2

how to print
012
?

thanks.




More information about the Python-list mailing list