python coding contest
Tobias Bell
tobias.bell at web.de
Sun Dec 25 18:57:01 EST 2005
André schrieb:
> Neat idea!
Indeed
>
> I'm far from being a decent Python programmer but I managed (for fun)
> to do it in a one-liner; however, it was definitely longer (in term of
> number of characters) than the more readable multi-line solution.
I made a readable version with 352 bytes and a non-readable with 290
bytes. But it's a really ugly lambda, map, reduce kludge. Looks like Perl.
>
> André
>
Tobias
More information about the Python-list
mailing list