puzzle/joke ;-)

Roman Suzi rnd at onego.ru
Fri May 4 08:35:17 EDT 2001


On Fri, 4 May 2001, Volucris wrote:

Hint:
The output of the puzzle was generated by a very small statement.

> def blip():
>     blop = '\'\"' + '\\'*129 + '\'\"'
>     for x in range(6, 0, -1):
>         if x == 6:
>             offset = 0
>         else:
>             offset = 1
>         seq = (2**(x)-offset)*'\\'
>         blop = '\'' + seq + blop + seq + '\''
>     return blop + '\''
> 
> This gives the right output. But it's ugly and I work in 4 hours. Good
> NIGHT!

Sincerely yours, Roman A.Suzi
-- 
 - Petrozavodsk - Karelia - Russia - mailto:rnd at onego.ru -
 





More information about the Python-list mailing list