[plug] I would write 500 lines, and I would write 500 more...

Cameron Patrick cameron at patrick.wattle.id.au
Mon Dec 15 16:24:18 WST 2003


On Mon, Dec 15, 2003 at 04:22:10PM +0800, Derek Fountain wrote:

| Surely:
| 
| print "I will not throw paper aeroplanes in class.\n"*500
| 
| ?

Yeah :-)  I was thinking in terms of calling print repeatedly, rather
than printing the 500 copies of message.  I still think that an
equivalent of C's for loop (the "swiss army chainsaw" of iteration)
would be handy in Python.

Cameron.




More information about the plug mailing list