print problem

nick nbdy9 at removethis.hotmail.com
Sat Jun 5 16:11:23 EDT 2004


I want to print something without a '\n' automatically added at the end, 
I know

print 1,
print 2,
print 3,

can partially solve the problem. But it added an space behind each 
variable. So the statements above will print out:

1 2 3
instead of
123

Any way that I can just use it as printf in C?



More information about the Python-list mailing list