Friday, January 06, 2006

117 Outdone by a reader!

Markus Schramm from Germany has left a comment on my post Journey to 117 showing how one could shave yet one more character from the 117 character solution to the PyContest challenge. So, 116 it is!


Anonymous said...

The 116-character version doesn't pass the test suite (no trailing newline), so it is not a valid solution.

André Roberge said...

Thanks for having checked it out; I had just done a quick check by doing
print seven_seg('0123456789')
(which looked ok), and assumed it was right.