On Jan 23, 9:03 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > print "foo" > print "bar" > > has a newline in between "foo" and "bar" > > print "foo", > print "bar" > > has a space in between "foo" and "bar" > > How prevent ANYTHING from going in between "foo" and "bar" ?? > > (Without defining a string variable.) > > Chris
print "%s%s" % ("foo", "bar") ## If "%s%s" doesn't violate your condition of not defining a string variable, I'm not sure. -- http://mail.python.org/mailman/listinfo/python-list