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

Derek Fountain derekfountain at yahoo.co.uk
Mon Dec 15 16:22:10 WST 2003


> Both of these have rubbed in to me that Python's iteration construct
> sucks, BTW.  :-)
>
> for x in range(500): print "I will not throw paper aeroplanes in class."

Surely:

print "I will not throw paper aeroplanes in class.\n"*500

?
-- 
> eatapple
core dump




More information about the plug mailing list