While loop - print several times but on 1 line.

Stefan Neumann stefan.neumann at freiheit.com
Thu Jan 26 05:34:04 EST 2006



Danny wrote:
> How could I make this print: texttexttexttexttext?
> Ive researched and looked through google and so far I can't find 
> anything that will help (or revelent for that matter).

I am not quite sure, if I simplify the problem but i thought about
something like that:

	>>> print "text"*5
	texttexttexttexttext

cheers

	Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20060126/151f3bb7/attachment.sig>


More information about the Python-list mailing list