How to print without spaces?

Tobiah toby at tobiah.org
Fri Sep 18 15:34:32 EDT 2009


> I don't want to print the space between 'a' and 'b'. Could somebody let me
> know how to do it?

>>>> print "a","b"
> a b

Since you are new, you should also be aware of:

print "%s%s" % (a, b)





More information about the Python-list mailing list