Splitting of string at an interval

Steven D'Aprano steve+comp.lang.python at pearwood.info
Mon Apr 8 22:38:09 EDT 2013


On Mon, 08 Apr 2013 21:09:08 -0400, Roy Smith wrote:

>> There's a whole competition about writing the smallest program which
>> outputs the song "99 bottles of beer":
>> 
>> http://codegolf.com/99-bottles-of-beer
> 
> I see the top 10 entries are all written in Perl.  I suppose this says
> something.


When I write my own programming language, it will include a one-character 
built-in command to perform 99 bottles of beer, just so my language will 
always be the winner.

In fact, I may make it a bare . so that not only will it be the shortest 
program, but also the smallest program in terms of number of non-white 
pixels.



-- 
Steven



More information about the Python-list mailing list