python coding contest

Tim Hochberg tim.hochberg at ieee.org
Mon Dec 26 11:34:15 EST 2005


taroso at gmail.com wrote:
> Currently I'm on 149 characters in <urgh> one line - 128 without
> spaces/newlines.  (it'd be three characters shorter if it didn't have
> to end with a "\n")


It'll be interesting to see what the short 1-line answers look like. I 
have a hard time seeing how that's done. It'll especially be interesting 
to see  if we're all using similar tricks or if the multiline attemps 
take a distinctly different tack than the single line attempts.

Currently, I'm down to 137 characters now in 6 lines. There's very 
little left to trim at this point, so I don't know that I'll be able to 
knock it down any further using my current approach. And since I don't 
have any other approaches in the wings, I may be about washed up.


-tim





More information about the Python-list mailing list