2008/7/10 Ian Kelly <[EMAIL PROTECTED]>: > On Thu, Jul 10, 2008 at 3:21 PM, Elliott Hird > <[EMAIL PROTECTED]> wrote: >> print 'I go on hold. I come off hold.\n' * 1000 > > Your extra newline is showing. > > -root >
Ah true. Hmph, works with ruby. How about: from itertools import repeat print '\n'.join(repeat('I go on hold. I come off hold', 1000))